public class JobStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
protected java.lang.String |
description |
protected long |
documentsInQueue |
protected long |
documentsOutstanding |
protected long |
documentsProcessed |
protected long |
endTime |
protected java.lang.String |
errorText |
protected java.lang.String |
jobID |
static int |
JOBSTATUS_ABORTING |
static int |
JOBSTATUS_COMPLETED |
static int |
JOBSTATUS_DESTRUCTING |
static int |
JOBSTATUS_ERROR |
static int |
JOBSTATUS_JOBENDCLEANUP |
static int |
JOBSTATUS_JOBENDNOTIFICATION |
static int |
JOBSTATUS_NOTYETRUN |
static int |
JOBSTATUS_PAUSED |
static int |
JOBSTATUS_RESTARTING |
static int |
JOBSTATUS_RESUMING |
static int |
JOBSTATUS_RUNNING |
static int |
JOBSTATUS_RUNNING_UNINSTALLED |
static int |
JOBSTATUS_STARTING |
static int |
JOBSTATUS_STOPPING |
static int |
JOBSTATUS_WINDOWWAIT |
protected boolean |
outstandingCountExact |
protected boolean |
processedCountExact |
protected boolean |
queueCountExact |
protected long |
startTime |
protected int |
status |
Constructor and Description |
---|
JobStatus(java.lang.String jobID,
java.lang.String description,
int status,
long documentsInQueue,
long documentsOutstanding,
long documentsProcessed,
boolean queueCountExact,
boolean outstandingCountExact,
boolean processedCountExact,
long startTime,
long endTime,
java.lang.String errorText)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the job description.
|
long |
getDocumentsInQueue()
Get the number of documents in the queue.
|
long |
getDocumentsOutstanding()
Get the number of documents outstanding.
|
long |
getDocumentsProcessed()
Get the number of documents that have been processed at least once.
|
long |
getEndTime()
Get the end time.
|
java.lang.String |
getErrorText()
Get the error text.
|
java.lang.String |
getJobID()
Get the job id.
|
boolean |
getOutstandingCountExact()
Get whether the outstanding count is accurate, or an estimate.
|
boolean |
getProcessedCountExact()
Get whether the processed count is accurate, or an estimate.
|
boolean |
getQueueCountExact()
Get whether the queue count is accurate, or an estimate.
|
long |
getStartTime()
Get the start time.
|
int |
getStatus()
Get the job status.
|
public static final java.lang.String _rcsid
public static final int JOBSTATUS_NOTYETRUN
public static final int JOBSTATUS_RUNNING
public static final int JOBSTATUS_STOPPING
public static final int JOBSTATUS_PAUSED
public static final int JOBSTATUS_RESUMING
public static final int JOBSTATUS_COMPLETED
public static final int JOBSTATUS_WINDOWWAIT
public static final int JOBSTATUS_STARTING
public static final int JOBSTATUS_DESTRUCTING
public static final int JOBSTATUS_ERROR
public static final int JOBSTATUS_ABORTING
public static final int JOBSTATUS_RESTARTING
public static final int JOBSTATUS_RUNNING_UNINSTALLED
public static final int JOBSTATUS_JOBENDCLEANUP
public static final int JOBSTATUS_JOBENDNOTIFICATION
protected final java.lang.String jobID
protected final java.lang.String description
protected final int status
protected final long documentsInQueue
protected final long documentsOutstanding
protected final long documentsProcessed
protected final boolean queueCountExact
protected final boolean outstandingCountExact
protected final boolean processedCountExact
protected final long startTime
protected final long endTime
protected final java.lang.String errorText
public JobStatus(java.lang.String jobID, java.lang.String description, int status, long documentsInQueue, long documentsOutstanding, long documentsProcessed, boolean queueCountExact, boolean outstandingCountExact, boolean processedCountExact, long startTime, long endTime, java.lang.String errorText)
jobID
- is the job identifier.description
- is the job description.status
- is the job status.documentsInQueue
- is the total number of documents currently in the document queue for the job.documentsOutstanding
- is the total number of documents currently marked for processing.documentsProcessed
- is the total number of documents that have been processed at least once.startTime
- is time the job started (use -1 for never)endTime
- is the time the job ended (use -1 for not yet)public java.lang.String getJobID()
public java.lang.String getDescription()
public int getStatus()
public long getDocumentsInQueue()
public boolean getQueueCountExact()
public long getDocumentsOutstanding()
public boolean getOutstandingCountExact()
public long getDocumentsProcessed()
public boolean getProcessedCountExact()
public long getStartTime()
public long getEndTime()
public java.lang.String getErrorText()