public class StepStatus extends Object implements Serializable, Cloneable
The execution status details of the cluster step.
| Constructor and Description | 
|---|
StepStatus()  | 
| Modifier and Type | Method and Description | 
|---|---|
StepStatus | 
clone()  | 
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
StepStatepublic void setState(String state)
 Constraints:
 Allowed Values: PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state - The execution state of the cluster step.StepStatepublic 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.StepStatepublic void setState(StepState state)
 Constraints:
 Allowed Values: PENDING, RUNNING, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state - The execution state of the cluster step.StepStatepublic 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.StepStatepublic 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 ObjectObject.toString()public StepStatus clone()
Copyright © 2015. All rights reserved.