Class SkippedStageReason
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.model.SkippedStageReason
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SkippedStageReason.Failure,SkippedStageReason.Restart,SkippedStageReason.Unstable,SkippedStageReason.When
Used to mark why a stage was skipped for internal purposes, allowing us to abstract away handling of skipped stages
without needing chains of if/else or cases to get the different behaviors.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SkippedStageReasoncloneWithNewStage(String newStage) abstract Stringabstract Stringboolean
-
Field Details
-
stageName
-
-
Constructor Details
-
SkippedStageReason
-
-
Method Details
-
isNotExecutedNode
public boolean isNotExecutedNode() -
getMessage
-
getStageStatus
-
cloneWithNewStage
-
getStageName
-