public class SubtaskInformation extends Object
Constructor and Description |
---|
SubtaskInformation() |
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.
|
Integer |
id()
Get the id value.
|
ComputeNodeInformation |
nodeInfo()
Get the nodeInfo value.
|
SubtaskState |
previousState()
Get the previousState value.
|
org.joda.time.DateTime |
previousStateTransitionTime()
Get the previousStateTransitionTime value.
|
TaskExecutionResult |
result()
Get the result value.
|
org.joda.time.DateTime |
startTime()
Get the startTime value.
|
SubtaskState |
state()
Get the state value.
|
org.joda.time.DateTime |
stateTransitionTime()
Get the stateTransitionTime value.
|
SubtaskInformation |
withContainerInfo(TaskContainerExecutionInformation containerInfo)
Set the containerInfo value.
|
SubtaskInformation |
withEndTime(org.joda.time.DateTime endTime)
Set the endTime value.
|
SubtaskInformation |
withExitCode(Integer exitCode)
Set the exitCode value.
|
SubtaskInformation |
withFailureInfo(TaskFailureInformation failureInfo)
Set the failureInfo value.
|
SubtaskInformation |
withId(Integer id)
Set the id value.
|
SubtaskInformation |
withNodeInfo(ComputeNodeInformation nodeInfo)
Set the nodeInfo value.
|
SubtaskInformation |
withPreviousState(SubtaskState previousState)
Set the previousState value.
|
SubtaskInformation |
withPreviousStateTransitionTime(org.joda.time.DateTime previousStateTransitionTime)
Set the previousStateTransitionTime value.
|
SubtaskInformation |
withResult(TaskExecutionResult result)
Set the result value.
|
SubtaskInformation |
withStartTime(org.joda.time.DateTime startTime)
Set the startTime value.
|
SubtaskInformation |
withState(SubtaskState state)
Set the state value.
|
SubtaskInformation |
withStateTransitionTime(org.joda.time.DateTime stateTransitionTime)
Set the stateTransitionTime value.
|
public Integer id()
public SubtaskInformation withId(Integer id)
id
- the id value to setpublic ComputeNodeInformation nodeInfo()
public SubtaskInformation withNodeInfo(ComputeNodeInformation nodeInfo)
nodeInfo
- the nodeInfo value to setpublic org.joda.time.DateTime startTime()
public SubtaskInformation withStartTime(org.joda.time.DateTime startTime)
startTime
- the startTime value to setpublic org.joda.time.DateTime endTime()
public SubtaskInformation withEndTime(org.joda.time.DateTime endTime)
endTime
- the endTime value to setpublic Integer exitCode()
public SubtaskInformation withExitCode(Integer exitCode)
exitCode
- the exitCode value to setpublic TaskContainerExecutionInformation containerInfo()
public SubtaskInformation withContainerInfo(TaskContainerExecutionInformation containerInfo)
containerInfo
- the containerInfo value to setpublic TaskFailureInformation failureInfo()
public SubtaskInformation withFailureInfo(TaskFailureInformation failureInfo)
failureInfo
- the failureInfo value to setpublic SubtaskState state()
public SubtaskInformation withState(SubtaskState state)
state
- the state value to setpublic org.joda.time.DateTime stateTransitionTime()
public SubtaskInformation withStateTransitionTime(org.joda.time.DateTime stateTransitionTime)
stateTransitionTime
- the stateTransitionTime value to setpublic SubtaskState previousState()
public SubtaskInformation withPreviousState(SubtaskState previousState)
previousState
- the previousState value to setpublic org.joda.time.DateTime previousStateTransitionTime()
public SubtaskInformation withPreviousStateTransitionTime(org.joda.time.DateTime previousStateTransitionTime)
previousStateTransitionTime
- the previousStateTransitionTime value to setpublic TaskExecutionResult result()
public SubtaskInformation withResult(TaskExecutionResult result)
result
- the result value to setCopyright © 2019. All rights reserved.