|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object plgrid.event.GridEvent plgrid.event.EventFinished
public class EventFinished
This is one of children of GridEvent class. It should be sent to Pipeline when job is finished its execution
Constructor Summary | |
---|---|
EventFinished()
Default comnstructor |
|
EventFinished(java.lang.String jobId,
java.lang.String taskId,
long endTime,
int exitStatus)
Constructor with job info |
|
EventFinished(java.lang.String jobId,
java.lang.String taskId,
long endTime,
long startTime,
int exitStatus)
Constructor with job info |
Method Summary | |
---|---|
int |
getExitStatus()
Returns Exit Status of the job |
long |
getFinishTime()
Return the finish time of the job |
long |
getStartTime()
Return start time of the job |
void |
setExitStatus(int exitStatus)
Sets exit status |
void |
setFinishTime(long finishTime)
Sets the finish time |
void |
setStartTime(long startTime)
Sets end time |
java.lang.String |
toString()
|
Methods inherited from class plgrid.event.GridEvent |
---|
fromXML, fromXMLElement, getError, getJobId, getTaskId, hasError, setError, setJobId, setTaskId, toXML, toXMLElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventFinished()
public EventFinished(java.lang.String jobId, java.lang.String taskId, long endTime, int exitStatus)
jobId
- The Job IDtaskId
- The Task IDendTime
- End time of the jobexitStatus
- Exit Status of the jobpublic EventFinished(java.lang.String jobId, java.lang.String taskId, long endTime, long startTime, int exitStatus)
jobId
- The Job IDtaskId
- The Task IDendTime
- End time of the jobstartTime
- Start time of the jobexitStatus
- Exit Status of the jobMethod Detail |
---|
public void setFinishTime(long finishTime)
finishTime
- Finish time in millisecondspublic void setStartTime(long startTime)
startTime
- End time in millisecondspublic void setExitStatus(int exitStatus)
exitStatus
- Exit status of the jobpublic long getFinishTime()
public long getStartTime()
public int getExitStatus()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |