Class DisableStageTransitionRequest

    • Method Detail

      • pipelineName

        public final String pipelineName()

        The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.

        Returns:
        The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.
      • stageName

        public final String stageName()

        The name of the stage where you want to disable the inbound or outbound transition of artifacts.

        Returns:
        The name of the stage where you want to disable the inbound or outbound transition of artifacts.
      • transitionType

        public final StageTransitionType transitionType()

        Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).

        If the service returns an enum value that is not available in the current SDK version, transitionType will return StageTransitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from transitionTypeAsString().

        Returns:
        Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).
        See Also:
        StageTransitionType
      • transitionTypeAsString

        public final String transitionTypeAsString()

        Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).

        If the service returns an enum value that is not available in the current SDK version, transitionType will return StageTransitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from transitionTypeAsString().

        Returns:
        Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).
        See Also:
        StageTransitionType
      • reason

        public final String reason()

        The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.

        Returns:
        The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.
      • 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