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 void setState(String state)
The execution state of the cluster step.
state
- The execution state of the cluster step.StepState
public String getState()
The execution state of the cluster step.
StepState
public StepStatus withState(String state)
The execution state of the cluster step.
state
- The execution state of the cluster step.StepState
public void setState(StepState state)
The execution state of the cluster step.
state
- The execution state of the cluster step.StepState
public StepStatus withState(StepState state)
The execution state of the cluster step.
state
- The execution state of the cluster step.StepState
public void setStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.
stateChangeReason
- The reason for the step execution status change.public StepStateChangeReason getStateChangeReason()
The reason for the step execution status change.
public StepStatus withStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.
stateChangeReason
- The reason for the step execution status change.public void setTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.
timeline
- The timeline of the cluster step status over time.public StepTimeline getTimeline()
The timeline of the cluster step status over time.
public StepStatus withTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.
timeline
- The timeline of the cluster step status over time.public String toString()
toString
in class Object
Object.toString()
public StepStatus clone()
Copyright © 2016. All rights reserved.