public class Job
extends java.lang.Object
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ComputeResource> |
getComputeResources() |
java.util.Date |
getCreatedTime() |
java.util.Date |
getHeartbeatTime() |
java.lang.String |
getJobID() |
java.lang.String |
getJobName() |
Node |
getNode() |
int |
getNumberOfWorkers() |
JobState |
getState() |
java.lang.String |
getWorkerClass() |
java.util.Set<Worker> |
getWorkers() |
void |
prePersist() |
void |
setComputeResources(java.util.Set<ComputeResource> computeResources) |
void |
setCreatedTime(java.util.Date createdTime) |
void |
setHeartbeatTime(java.util.Date heartbeatTime) |
void |
setJobID(java.lang.String jobID) |
void |
setJobName(java.lang.String jobName) |
void |
setNode(Node node) |
void |
setNumberOfWorkers(int numberOfWorkers) |
void |
setState(JobState state) |
void |
setWorkerClass(java.lang.String workerClass) |
void |
setWorkers(java.util.Set<Worker> workers) |
java.lang.String |
toString() |
public java.util.Date getCreatedTime()
public void setCreatedTime(java.util.Date createdTime)
public java.lang.String getWorkerClass()
public void setWorkerClass(java.lang.String workerClass)
public int getNumberOfWorkers()
public void setNumberOfWorkers(int numberOfWorkers)
public Node getNode()
public void setNode(Node node)
public java.util.Set<ComputeResource> getComputeResources()
public void setComputeResources(java.util.Set<ComputeResource> computeResources)
public JobState getState()
public void setState(JobState state)
public java.lang.String getJobID()
public void setJobID(java.lang.String jobID)
public java.lang.String getJobName()
public void setJobName(java.lang.String jobName)
public java.util.Date getHeartbeatTime()
public void setHeartbeatTime(java.util.Date heartbeatTime)
public java.util.Set<Worker> getWorkers()
public void setWorkers(java.util.Set<Worker> workers)
public void prePersist()
public java.lang.String toString()
toString
in class java.lang.Object