org.gwe.persistence.model
Class JobInfo
java.lang.Object
org.gwe.persistence.model.BaseModelInfo<java.lang.String>
org.gwe.persistence.model.JobInfo
- All Implemented Interfaces:
- java.io.Serializable
public class JobInfo
- extends BaseModelInfo<java.lang.String>
- Since:
- Aug 8, 2007
- Author:
- Marco Ruiz
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
request
protected DaemonRequest<?> request
JobInfo
public JobInfo()
JobInfo
public JobInfo(int jobNum,
JobDescriptor descriptor,
DaemonRequest<?> daemonRequest)
getId
public java.lang.String getId()
- Specified by:
getId
in class BaseModelInfo<java.lang.String>
setId
public void setId(java.lang.String id)
getOrder
public OrderInfo getOrder()
setOrder
public void setOrder(OrderInfo order)
getJobNum
public int getJobNum()
getDescriptor
public JobDescriptor getDescriptor()
getFailures
public int getFailures()
getExecution
public JobExecutionInfo getExecution()
setExecution
public void setExecution(JobExecutionInfo execution)
getExecutions
public java.util.List<JobExecutionInfo> getExecutions()
setExecutions
public void setExecutions(java.util.List<JobExecutionInfo> executions)
computeFinishedExecutionStatus
public boolean computeFinishedExecutionStatus()
getRequest
public DaemonRequest<?> getRequest()
getWorkspaceInDaemon
public java.lang.String getWorkspaceInDaemon(DaemonConfigDesc config)
preProcess
public void preProcess(OrderLive orderLive)
postProcess
public void postProcess(OrderLive orderLive,
java.io.Serializable result)
logCreateEvent
public void logCreateEvent()
- Overrides:
logCreateEvent
in class BaseModelInfo<java.lang.String>
createModelSummaryFor
public ModelSummary<java.lang.String> createModelSummaryFor(EventType ev)
- Overrides:
createModelSummaryFor
in class BaseModelInfo<java.lang.String>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getOrderId
public int getOrderId()
Copyright © 2007-2009. All Rights Reserved.