|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
JobControl is the special interface for providing of any control. Based on ideas of BSA JobControl interface AnalysisState
| Field Summary | |
static int |
COMPLETED
The instance has completed execution. |
static int |
CREATED
Instance has been created but not yet executed. |
static int |
PAUSED
The analysis instance is paused. |
static int |
RUNNING
The analysis instance is runned. |
static int |
TERMINATED_BY_ERROR
The instance terminated due to an error. |
static int |
TERMINATED_BY_REQUEST
The instance was terminated by user request. |
| Method Summary | |
void |
addListener(JobControlListener listener)
Adds JobControlListener object |
long |
getCreatedTime()
Returns JobControl created time. |
long |
getElapsedTime()
Returns elapsed time of Job |
long |
getEndedTime()
Returns Job finished time |
int |
getPreparedness()
Returns preparedness of Job in percent |
long |
getRemainedTime()
Returns estimated remained time |
long |
getStartedTime()
Returns Job start time |
int |
getStatus()
Returns status of Job |
java.lang.String |
getTextStatus()
Returns string representation of Job status |
void |
pause()
Pauses JobControl process |
void |
resume()
Resumes JobControl process |
void |
terminate()
Terminates JobControl process |
| Methods inherited from interface java.lang.Runnable |
run |
| Field Detail |
public static final int CREATED
public static final int RUNNING
public static final int PAUSED
public static final int COMPLETED
public static final int TERMINATED_BY_REQUEST
public static final int TERMINATED_BY_ERROR
| Method Detail |
public void pause()
public void resume()
public void terminate()
public int getStatus()
public java.lang.String getTextStatus()
public int getPreparedness()
public long getCreatedTime()
public long getRemainedTime()
public long getElapsedTime()
public long getStartedTime()
public long getEndedTime()
public void addListener(JobControlListener listener)
listener - added listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||