public class JobExecutionSummary extends Object implements Serializable
The job execution summary.
| Constructor and Description |
|---|
JobExecutionSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getExecutionNumber()
A string (consisting of the digits "0" through "9") which identifies this
particular job execution on this particular device.
|
Date |
getLastUpdatedAt()
The time, in milliseconds since the epoch, when the job execution was
last updated.
|
Date |
getQueuedAt()
The time, in milliseconds since the epoch, when the job execution was
queued.
|
Date |
getStartedAt()
The time, in milliseconds since the epoch, when the job execution
started.
|
String |
getStatus()
The status of the job execution.
|
int |
hashCode() |
void |
setExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this
particular job execution on this particular device.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was
last updated.
|
void |
setQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was
queued.
|
void |
setStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution
started.
|
void |
setStatus(JobExecutionStatus status)
The status of the job execution.
|
void |
setStatus(String status)
The status of the job execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobExecutionSummary |
withExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this
particular job execution on this particular device.
|
JobExecutionSummary |
withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was
last updated.
|
JobExecutionSummary |
withQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was
queued.
|
JobExecutionSummary |
withStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution
started.
|
JobExecutionSummary |
withStatus(JobExecutionStatus status)
The status of the job execution.
|
JobExecutionSummary |
withStatus(String status)
The status of the job execution.
|
public String getStatus()
The status of the job execution.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED,
REMOVED, CANCELED
The status of the job execution.
JobExecutionStatuspublic void setStatus(String status)
The status of the job execution.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED,
REMOVED, CANCELED
status - The status of the job execution.
JobExecutionStatuspublic JobExecutionSummary withStatus(String status)
The status of the job execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED,
REMOVED, CANCELED
status - The status of the job execution.
JobExecutionStatuspublic void setStatus(JobExecutionStatus status)
The status of the job execution.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED,
REMOVED, CANCELED
status - The status of the job execution.
JobExecutionStatuspublic JobExecutionSummary withStatus(JobExecutionStatus status)
The status of the job execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED,
REMOVED, CANCELED
status - The status of the job execution.
JobExecutionStatuspublic Date getQueuedAt()
The time, in milliseconds since the epoch, when the job execution was queued.
The time, in milliseconds since the epoch, when the job execution was queued.
public void setQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was queued.
queuedAt - The time, in milliseconds since the epoch, when the job execution was queued.
public JobExecutionSummary withQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was queued.
Returns a reference to this object so that method calls can be chained together.
queuedAt - The time, in milliseconds since the epoch, when the job execution was queued.
public Date getStartedAt()
The time, in milliseconds since the epoch, when the job execution started.
The time, in milliseconds since the epoch, when the job execution started.
public void setStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution started.
startedAt - The time, in milliseconds since the epoch, when the job execution started.
public JobExecutionSummary withStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution started.
Returns a reference to this object so that method calls can be chained together.
startedAt - The time, in milliseconds since the epoch, when the job execution started.
public Date getLastUpdatedAt()
The time, in milliseconds since the epoch, when the job execution was last updated.
The time, in milliseconds since the epoch, when the job execution was last updated.
public void setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was last updated.
lastUpdatedAt - The time, in milliseconds since the epoch, when the job execution was last updated.
public JobExecutionSummary withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was last updated.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedAt - The time, in milliseconds since the epoch, when the job execution was last updated.
public Long getExecutionNumber()
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
public void setExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
executionNumber - A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
public JobExecutionSummary withExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
Returns a reference to this object so that method calls can be chained together.
executionNumber - A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.