public class StartTaskInformation extends Object
Constructor and Description |
---|
StartTaskInformation() |
Modifier and Type | Method and Description |
---|---|
TaskContainerExecutionInformation |
containerInfo()
Get the containerInfo value.
|
org.joda.time.DateTime |
endTime()
Get the endTime value.
|
Integer |
exitCode()
Get the exitCode value.
|
TaskFailureInformation |
failureInfo()
Get the failureInfo value.
|
org.joda.time.DateTime |
lastRetryTime()
Get the lastRetryTime value.
|
TaskExecutionResult |
result()
Get the result value.
|
int |
retryCount()
Get the retryCount value.
|
org.joda.time.DateTime |
startTime()
Get the startTime value.
|
StartTaskState |
state()
Get the state value.
|
StartTaskInformation |
withContainerInfo(TaskContainerExecutionInformation containerInfo)
Set the containerInfo value.
|
StartTaskInformation |
withEndTime(org.joda.time.DateTime endTime)
Set the endTime value.
|
StartTaskInformation |
withExitCode(Integer exitCode)
Set the exitCode value.
|
StartTaskInformation |
withFailureInfo(TaskFailureInformation failureInfo)
Set the failureInfo value.
|
StartTaskInformation |
withLastRetryTime(org.joda.time.DateTime lastRetryTime)
Set the lastRetryTime value.
|
StartTaskInformation |
withResult(TaskExecutionResult result)
Set the result value.
|
StartTaskInformation |
withRetryCount(int retryCount)
Set the retryCount value.
|
StartTaskInformation |
withStartTime(org.joda.time.DateTime startTime)
Set the startTime value.
|
StartTaskInformation |
withState(StartTaskState state)
Set the state value.
|
public StartTaskState state()
public StartTaskInformation withState(StartTaskState state)
state
- the state value to setpublic org.joda.time.DateTime startTime()
public StartTaskInformation withStartTime(org.joda.time.DateTime startTime)
startTime
- the startTime value to setpublic org.joda.time.DateTime endTime()
public StartTaskInformation withEndTime(org.joda.time.DateTime endTime)
endTime
- the endTime value to setpublic Integer exitCode()
public StartTaskInformation withExitCode(Integer exitCode)
exitCode
- the exitCode value to setpublic TaskContainerExecutionInformation containerInfo()
public StartTaskInformation withContainerInfo(TaskContainerExecutionInformation containerInfo)
containerInfo
- the containerInfo value to setpublic TaskFailureInformation failureInfo()
public StartTaskInformation withFailureInfo(TaskFailureInformation failureInfo)
failureInfo
- the failureInfo value to setpublic int retryCount()
public StartTaskInformation withRetryCount(int retryCount)
retryCount
- the retryCount value to setpublic org.joda.time.DateTime lastRetryTime()
public StartTaskInformation withLastRetryTime(org.joda.time.DateTime lastRetryTime)
lastRetryTime
- the lastRetryTime value to setpublic TaskExecutionResult result()
public StartTaskInformation withResult(TaskExecutionResult result)
result
- the result value to setCopyright © 2019. All rights reserved.