Package uk.gov.gchq.gaffer.jobtracker
Class JobDetail
- java.lang.Object
-
- uk.gov.gchq.gaffer.jobtracker.JobDetail
-
- All Implemented Interfaces:
Serializable
public class JobDetail extends Object implements Serializable
POJO containing details of a Gaffer job.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobDetail.Builder
-
Constructor Summary
Constructors Constructor Description JobDetail()
JobDetail(String jobId, String parentJobId, User user, String opChain, String serialisedOperationChain, JobStatus jobStatus, String description, Repeat repeat)
JobDetail(String jobId, String parentJobId, User user, String opChain, JobStatus jobStatus, String description)
JobDetail(String jobId, String parentJobId, User user, OperationChain<?> opChain, JobStatus jobStatus, String description)
JobDetail(String jobId, User user, OperationChain<?> opChain, JobStatus jobStatus, String description)
JobDetail(JobDetail oldJobDetail, JobDetail newJobDetail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDescription()
Long
getEndTime()
String
getJobId()
String
getOpChain()
String
getParentJobId()
Repeat
getRepeat()
String
getSerialisedOperationChain()
Long
getStartTime()
JobStatus
getStatus()
User
getUser()
int
hashCode()
void
setDescription(String description)
void
setEndTime(Long endTime)
void
setJobId(String jobId)
void
setOpChain(String opChain)
void
setParentJobId(String parentJobId)
void
setRepeat(Repeat repeat)
void
setSerialisedOperationChain(String serialisedOperationChain)
void
setSerialisedOperationChain(OperationChain operationChain)
void
setStartTime(Long startTime)
void
setStatus(JobStatus status)
void
setUser(User user)
String
toString()
-
-
-
Constructor Detail
-
JobDetail
public JobDetail()
-
JobDetail
public JobDetail(String jobId, User user, OperationChain<?> opChain, JobStatus jobStatus, String description)
-
JobDetail
public JobDetail(String jobId, String parentJobId, User user, OperationChain<?> opChain, JobStatus jobStatus, String description)
-
JobDetail
public JobDetail(String jobId, String parentJobId, User user, String opChain, JobStatus jobStatus, String description)
-
-
Method Detail
-
getJobId
public String getJobId()
-
setJobId
public void setJobId(String jobId)
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
getStatus
public JobStatus getStatus()
-
setStatus
public void setStatus(JobStatus status)
-
getStartTime
public Long getStartTime()
-
setStartTime
public void setStartTime(Long startTime)
-
getEndTime
public Long getEndTime()
-
setEndTime
public void setEndTime(Long endTime)
-
setParentJobId
public void setParentJobId(String parentJobId)
-
getParentJobId
public String getParentJobId()
-
getOpChain
public String getOpChain()
-
setOpChain
public void setOpChain(String opChain)
-
getSerialisedOperationChain
public String getSerialisedOperationChain()
-
setSerialisedOperationChain
public void setSerialisedOperationChain(String serialisedOperationChain)
-
setSerialisedOperationChain
public void setSerialisedOperationChain(OperationChain operationChain)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getRepeat
public Repeat getRepeat()
-
setRepeat
public void setRepeat(Repeat repeat)
-
-