|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface defines the main methods and settings a workmanager job has. Workmanager jobs are independent request for doing some work. The component to be called actually to execute the job is determined by the tool setting. The work manager tries to loacate the tool named equally and tries to execute the tool with the parameters given.
| Field Summary | |
static int |
ANY
Any or undefined status. |
static int |
STATUS_ACTIVE
Status: The job is executing actually. |
static int |
STATUS_CREATED
Status: The job has just been created. |
static int |
STATUS_EXITED_ERROR
Status: The job has thrown an exception. |
static int |
STATUS_EXITED_OK
Status: The job was executed successfully. |
| Method Summary | |
java.util.Date |
getCreationDate()
The date time of the creation of this job. |
java.util.Date |
getFinishedDate()
The date time of the execution or null if the job is not executed yet. |
int |
getId()
Returns the ID of the job. |
long |
getMaxTime()
Returns the result of the calculation. |
int |
getPriority()
Ge the desired priority of the job |
java.lang.String |
getReference()
The user who created this job. |
java.util.Date |
getStartDate()
The date time of the execution or null if the job is not executed yet. |
int |
getStatus()
This returns the status of the job as defined in the constants. |
long |
getTotalRuntime()
Returns the result of the calculation. |
int |
getUser()
The user who created this job. |
| Methods inherited from interface java.lang.Runnable |
run |
| Field Detail |
public static final int ANY
public static final int STATUS_CREATED
public static final int STATUS_ACTIVE
public static final int STATUS_EXITED_OK
public static final int STATUS_EXITED_ERROR
| Method Detail |
public int getStatus()
public int getId()
public java.lang.String getReference()
public int getPriority()
public int getUser()
public java.util.Date getCreationDate()
public java.util.Date getStartDate()
public java.util.Date getFinishedDate()
public long getTotalRuntime()
public long getMaxTime()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||