Class DisableStageTransitionRequest

    • Constructor Detail

      • DisableStageTransitionRequest

        public DisableStageTransitionRequest()
    • Method Detail

      • setPipelineName

        public void setPipelineName​(String pipelineName)

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

        Parameters:
        pipelineName - The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.
      • getPipelineName

        public String getPipelineName()

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

        public DisableStageTransitionRequest withPipelineName​(String pipelineName)

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

        Parameters:
        pipelineName - The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStageName

        public void setStageName​(String stageName)

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

        Parameters:
        stageName - The name of the stage where you want to disable the inbound or outbound transition of artifacts.
      • getStageName

        public String getStageName()

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

        public DisableStageTransitionRequest withStageName​(String stageName)

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

        Parameters:
        stageName - The name of the stage where you want to disable the inbound or outbound transition of artifacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTransitionType

        public void setTransitionType​(String transitionType)

        Specifies whether artifacts will be 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).

        Parameters:
        transitionType - Specifies whether artifacts will be 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
      • getTransitionType

        public String getTransitionType()

        Specifies whether artifacts will be 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).

        Returns:
        Specifies whether artifacts will be 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
      • withTransitionType

        public DisableStageTransitionRequest withTransitionType​(String transitionType)

        Specifies whether artifacts will be 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).

        Parameters:
        transitionType - Specifies whether artifacts will be 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).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StageTransitionType
      • setTransitionType

        public void setTransitionType​(StageTransitionType transitionType)

        Specifies whether artifacts will be 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).

        Parameters:
        transitionType - Specifies whether artifacts will be 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
      • withTransitionType

        public DisableStageTransitionRequest withTransitionType​(StageTransitionType transitionType)

        Specifies whether artifacts will be 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).

        Parameters:
        transitionType - Specifies whether artifacts will be 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).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StageTransitionType
      • setReason

        public void setReason​(String reason)

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

        Parameters:
        reason - The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.
      • getReason

        public String getReason()

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

        public DisableStageTransitionRequest withReason​(String reason)

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

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