Class PipelineStage


  • public final class PipelineStage
    extends java.lang.Object
    • Method Detail

      • actions

        public java.util.List<PipelineStageAction> actions()
        Returns:
        The action(s) to include in the stage. Defined as an `action` block below
      • beforeEntry

        public java.util.Optional<PipelineStageBeforeEntry> beforeEntry()
        Returns:
        The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
      • name

        public java.lang.String name()
        Returns:
        The name of the stage.
      • onFailure

        public java.util.Optional<PipelineStageOnFailure> onFailure()
        Returns:
        The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
      • onSuccess

        public java.util.Optional<PipelineStageOnSuccess> onSuccess()
        Returns:
        The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.