public class StepStatus extends Object implements Serializable
The execution status details of the cluster step.
Constructor and Description |
---|
StepStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getState()
The execution state of the cluster step.
|
StepStateChangeReason |
getStateChangeReason()
The reason for the step execution status change.
|
StepTimeline |
getTimeline()
The timeline of the cluster step status over time.
|
int |
hashCode() |
void |
setState(StepState state)
The execution state of the cluster step.
|
void |
setState(String state)
The execution state of the cluster step.
|
void |
setStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.
|
void |
setTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StepStatus |
withState(StepState state)
The execution state of the cluster step.
|
StepStatus |
withState(String state)
The execution state of the cluster step.
|
StepStatus |
withStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.
|
StepStatus |
withTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.
|
public String getState()
Constraints:
Allowed Values: PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
StepState
public void setState(String state)
Constraints:
Allowed Values: PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The execution state of the cluster step.StepState
public StepStatus withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The execution state of the cluster step.StepState
public void setState(StepState state)
Constraints:
Allowed Values: PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The execution state of the cluster step.StepState
public StepStatus withState(StepState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The execution state of the cluster step.StepState
public StepStateChangeReason getStateChangeReason()
public void setStateChangeReason(StepStateChangeReason stateChangeReason)
stateChangeReason
- The reason for the step execution status change.public StepStatus withStateChangeReason(StepStateChangeReason stateChangeReason)
Returns a reference to this object so that method calls can be chained together.
stateChangeReason
- The reason for the step execution status change.public StepTimeline getTimeline()
public void setTimeline(StepTimeline timeline)
timeline
- The timeline of the cluster step status over time.public StepStatus withTimeline(StepTimeline timeline)
Returns a reference to this object so that method calls can be chained together.
timeline
- The timeline of the cluster step status over time.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.