public class StepStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The execution status details of the cluster step.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
state
The execution state of the cluster step.
|
private StepStateChangeReason |
stateChangeReason
The reason for the step execution status change.
|
private StepTimeline |
timeline
The timeline of the cluster step status over time.
|
Constructor and Description |
---|
StepStatus() |
Modifier and Type | Method and Description |
---|---|
StepStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.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(java.lang.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.
|
private java.lang.String state
The execution state of the cluster step.
private StepStateChangeReason stateChangeReason
The reason for the step execution status change.
private StepTimeline timeline
The timeline of the cluster step status over time.
public void setState(java.lang.String state)
The execution state of the cluster step.
state
- The execution state of the cluster step.StepState
public java.lang.String getState()
The execution state of the cluster step.
StepState
public StepStatus withState(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StepStatus clone()
clone
in class java.lang.Object