Class TransitionState

    • Constructor Detail

      • TransitionState

        public TransitionState()
    • Method Detail

      • setEnabled

        public void setEnabled​(Boolean enabled)

        Whether the transition between stages is enabled (true) or disabled (false).

        Parameters:
        enabled - Whether the transition between stages is enabled (true) or disabled (false).
      • getEnabled

        public Boolean getEnabled()

        Whether the transition between stages is enabled (true) or disabled (false).

        Returns:
        Whether the transition between stages is enabled (true) or disabled (false).
      • withEnabled

        public TransitionState withEnabled​(Boolean enabled)

        Whether the transition between stages is enabled (true) or disabled (false).

        Parameters:
        enabled - Whether the transition between stages is enabled (true) or disabled (false).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnabled

        public Boolean isEnabled()

        Whether the transition between stages is enabled (true) or disabled (false).

        Returns:
        Whether the transition between stages is enabled (true) or disabled (false).
      • setLastChangedBy

        public void setLastChangedBy​(String lastChangedBy)

        The ID of the user who last changed the transition state.

        Parameters:
        lastChangedBy - The ID of the user who last changed the transition state.
      • getLastChangedBy

        public String getLastChangedBy()

        The ID of the user who last changed the transition state.

        Returns:
        The ID of the user who last changed the transition state.
      • withLastChangedBy

        public TransitionState withLastChangedBy​(String lastChangedBy)

        The ID of the user who last changed the transition state.

        Parameters:
        lastChangedBy - The ID of the user who last changed the transition state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastChangedAt

        public void setLastChangedAt​(Date lastChangedAt)

        The timestamp when the transition state was last changed.

        Parameters:
        lastChangedAt - The timestamp when the transition state was last changed.
      • getLastChangedAt

        public Date getLastChangedAt()

        The timestamp when the transition state was last changed.

        Returns:
        The timestamp when the transition state was last changed.
      • withLastChangedAt

        public TransitionState withLastChangedAt​(Date lastChangedAt)

        The timestamp when the transition state was last changed.

        Parameters:
        lastChangedAt - The timestamp when the transition state was last changed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDisabledReason

        public void setDisabledReason​(String disabledReason)

        The user-specified reason why the transition between two stages of a pipeline was disabled.

        Parameters:
        disabledReason - The user-specified reason why the transition between two stages of a pipeline was disabled.
      • getDisabledReason

        public String getDisabledReason()

        The user-specified reason why the transition between two stages of a pipeline was disabled.

        Returns:
        The user-specified reason why the transition between two stages of a pipeline was disabled.
      • withDisabledReason

        public TransitionState withDisabledReason​(String disabledReason)

        The user-specified reason why the transition between two stages of a pipeline was disabled.

        Parameters:
        disabledReason - The user-specified reason why the transition between two stages of a pipeline was disabled.
        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