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 class
static class
static class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SkippedStageReason
cloneWithNewStage
(String newStage) abstract String
abstract String
boolean
-
Field Details
-
stageName
-
-
Constructor Details
-
SkippedStageReason
-
-
Method Details
-
isNotExecutedNode
public boolean isNotExecutedNode() -
getMessage
-
getStageStatus
-
cloneWithNewStage
-
getStageName
-