public class Job
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getEndTime() |
java.lang.String |
getEntityName() |
long |
getFailedBatches() |
long |
getFailedEvents() |
java.lang.String |
getFlowName() |
java.lang.String |
getFlowType() |
java.lang.String |
getJobId() |
java.lang.String |
getJobName() |
java.util.List<java.lang.String> |
getJobOutput() |
java.util.Date |
getStartTime() |
JobStatus |
getStatus() |
long |
getSuccessfulBatches() |
long |
getSuccessfulEvents() |
Job |
setCounts(long successfulEvents,
long failedEvents,
long successfulBatches,
long failedBatches) |
Job |
withEndTime(java.util.Date endTime) |
static Job |
withFlow(LegacyFlow flow) |
Job |
withJobId(java.lang.String jobId) |
Job |
withJobName(java.lang.String jobName) |
Job |
withJobOutput(java.util.List<java.lang.String> jobOutput) |
Job |
withJobOutput(java.lang.String jobOutput) |
Job |
withStartTime(java.util.Date startTime) |
Job |
withStatus(JobStatus status) |
public Job withJobId(java.lang.String jobId)
public static Job withFlow(LegacyFlow flow)
public Job withJobName(java.lang.String jobName)
public Job withJobOutput(java.util.List<java.lang.String> jobOutput)
public Job withJobOutput(java.lang.String jobOutput)
public Job withStartTime(java.util.Date startTime)
public Job withEndTime(java.util.Date endTime)
public Job setCounts(long successfulEvents, long failedEvents, long successfulBatches, long failedBatches)
public java.lang.String getJobId()
public java.lang.String getFlowType()
public java.lang.String getFlowName()
public java.lang.String getEntityName()
public java.lang.String getJobName()
public java.util.Date getStartTime()
public java.util.Date getEndTime()
public JobStatus getStatus()
public java.util.List<java.lang.String> getJobOutput()
public long getSuccessfulEvents()
public long getFailedEvents()
public long getSuccessfulBatches()
public long getFailedBatches()