Class StageDirective
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<T>
-
- org.jenkinsci.plugins.pipeline.modeldefinition.generator.AbstractDirective<StageDirective>
-
- org.jenkinsci.plugins.pipeline.modeldefinition.generator.StageDirective
-
- All Implemented Interfaces:
Describable<StageDirective>
public class StageDirective extends AbstractDirective<StageDirective>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StageDirective.DescriptorImpl
static class
StageDirective.StageContentType
-
Constructor Summary
Constructors Constructor Description StageDirective(List<AbstractDirective> directives, String name, StageDirective.StageContentType contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StageDirective.StageContentType
getContentType()
What the content of this stage is - currently steps or parallelList<AbstractDirective>
getDirectives()
String
getName()
-
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.generator.AbstractDirective
toGroovy
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
StageDirective
@DataBoundConstructor public StageDirective(List<AbstractDirective> directives, @NonNull String name, StageDirective.StageContentType contentType)
-
-
Method Detail
-
getName
@NonNull public String getName()
-
getContentType
public StageDirective.StageContentType getContentType()
What the content of this stage is - currently steps or parallel
-
getDirectives
@NonNull public List<AbstractDirective> getDirectives()
-
-