|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJobStatus
Representation of a job execution status at any given time.
Nested Class Summary | |
---|---|
static class |
IJobStatus.Status
A job execution status. |
Method Summary | |
---|---|
double |
getCompletionRatio()
Gets the job completion ration. |
long |
getElapsedTime()
Gets how long it took to finish a job, in milliseconds. |
Date |
getEndTime()
Gets the end date of this progress. |
IJobContext |
getJobContext()
Contextual information about the job this status represents. |
String |
getJobId()
The ID of the job this status represents. |
Date |
getLastActivity()
Gets the date on which last activity on the job execution occured. |
String |
getMetadata()
Gets meta-data associated with this job progress. |
String |
getNote()
Gets the current progress note. |
long |
getProgress()
Gets the current progress. |
Date |
getStartTime()
Gets the end start of this progress. |
IJobStatus.Status |
getStatus()
Gets the current job status. |
boolean |
isRecovery()
Whether this progress is from a recovery attempt from a previously failed job. |
boolean |
isStopRequested()
Whether a request stop this job was received. |
Method Detail |
---|
String getJobId()
IJobContext getJobContext()
String getNote()
long getProgress()
Date getEndTime()
null
if the progress
never finished.
Date getLastActivity()
String getMetadata()
Date getStartTime()
null
if the progress
never started.
boolean isStopRequested()
true
if a stop request was received.long getElapsedTime()
double getCompletionRatio()
IJobStatus.Status getStatus()
Gets the current job status.
boolean isRecovery()
true
if the current progress is a recovery
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |