Class StepStatus

    • Constructor Detail

      • StepStatus

        public StepStatus()
    • Method Detail

      • setState

        public void setState​(String state)

        The execution state of the cluster step.

        Parameters:
        state - The execution state of the cluster step.
        See Also:
        StepState
      • getState

        public String getState()

        The execution state of the cluster step.

        Returns:
        The execution state of the cluster step.
        See Also:
        StepState
      • withState

        public StepStatus withState​(String state)

        The execution state of the cluster step.

        Parameters:
        state - The execution state of the cluster step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StepState
      • setState

        public void setState​(StepState state)

        The execution state of the cluster step.

        Parameters:
        state - The execution state of the cluster step.
        See Also:
        StepState
      • withState

        public StepStatus withState​(StepState state)

        The execution state of the cluster step.

        Parameters:
        state - The execution state of the cluster step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StepState
      • setStateChangeReason

        public void setStateChangeReason​(StepStateChangeReason stateChangeReason)

        The reason for the step execution status change.

        Parameters:
        stateChangeReason - The reason for the step execution status change.
      • getStateChangeReason

        public StepStateChangeReason getStateChangeReason()

        The reason for the step execution status change.

        Returns:
        The reason for the step execution status change.
      • withStateChangeReason

        public StepStatus withStateChangeReason​(StepStateChangeReason stateChangeReason)

        The reason for the step execution status change.

        Parameters:
        stateChangeReason - The reason for the step execution status change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimeline

        public void setTimeline​(StepTimeline timeline)

        The timeline of the cluster step status over time.

        Parameters:
        timeline - The timeline of the cluster step status over time.
      • getTimeline

        public StepTimeline getTimeline()

        The timeline of the cluster step status over time.

        Returns:
        The timeline of the cluster step status over time.
      • withTimeline

        public StepStatus withTimeline​(StepTimeline timeline)

        The timeline of the cluster step status over time.

        Parameters:
        timeline - The timeline of the cluster step status over time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object