Class TransitionState

    • Method Detail

      • enabled

        public final Boolean enabled()

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

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

        public final String lastChangedBy()

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

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

        public final Instant lastChangedAt()

        The timestamp when the transition state was last changed.

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

        public final String disabledReason()

        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)