org.gwe.persistence.model
Class JobExecutionInfo
java.lang.Object
org.gwe.persistence.model.BaseModelInfo<java.lang.String>
org.gwe.persistence.model.JobExecutionInfo
- All Implemented Interfaces:
- java.io.Serializable
public class JobExecutionInfo
- extends BaseModelInfo<java.lang.String>
- Since:
- Sep 15, 2008
- Author:
- Marco Ruiz
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runningDaemon
protected HeadResourceInfo runningDaemon
allocation
protected AllocationInfo allocation
JobExecutionInfo
public JobExecutionInfo()
JobExecutionInfo
public JobExecutionInfo(JobInfo job)
getId
public java.lang.String getId()
- Specified by:
getId
in class BaseModelInfo<java.lang.String>
getJob
public JobInfo getJob()
setJob
public void setJob(JobInfo job)
setExecutionNum
public void setExecutionNum(int executionNum)
getExecutionNum
public int getExecutionNum()
getRunningDaemon
public HeadResourceInfo getRunningDaemon()
setRunningDaemon
public void setRunningDaemon(HeadResourceInfo runningDaemon)
getAllocation
public AllocationInfo getAllocation()
hasFailed
public boolean hasFailed()
hasCompleted
public boolean hasCompleted()
setAllocation
public void setAllocation(AllocationInfo alloc)
flagAsDispatched
public void flagAsDispatched()
getRequestResult
public java.io.Serializable getRequestResult()
setRequestResult
public void setRequestResult(java.io.Serializable result)
getRequestException
public java.lang.Throwable getRequestException()
getRequestExceptionStackTrace
public java.lang.String getRequestExceptionStackTrace()
setRequestException
public void setRequestException(java.lang.Throwable result)
getWhenPrepared
public java.sql.Timestamp getWhenPrepared()
getWhenAssigned
public java.sql.Timestamp getWhenAssigned()
getWhenDispatched
public java.sql.Timestamp getWhenDispatched()
getWhenProcessed
public java.sql.Timestamp getWhenProcessed()
getWhenCompleted
public java.sql.Timestamp getWhenCompleted()
getWhenFailed
public java.sql.Timestamp getWhenFailed()
getStatus
public java.lang.String getStatus()
logExecutionPhase
public void logExecutionPhase(EventType evType,
java.io.Serializable result)
logFailure
public void logFailure(java.lang.Throwable result)
Copyright © 2007-2009. All Rights Reserved.