Class StepsModel
java.lang.Object
io.jenkins.plugins.pipeline.models.AbstractModel
io.jenkins.plugins.pipeline.models.StepsModel
- All Implemented Interfaces:
ParsableModelInterface
Model Class for Jenkins Declarative Pipeline Steps Section
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStepsModel(String steps) StepsModel(List<String> steps) StepsModel(Optional<ScriptModel> script) -
Method Summary
Modifier and TypeMethodDescriptiontoGroovy()Convert model to Jenkins Declarative Pipeline SyntaxConvert steps to Groovy Format for Post SectionMethods inherited from class io.jenkins.plugins.pipeline.models.AbstractModel
optionalBooleanToGroovy, optionalStringToGroovy
-
Field Details
-
directive
- See Also:
-
-
Constructor Details
-
StepsModel
- Parameters:
steps- List of Steps
-
StepsModel
- Parameters:
script-ScriptModel
-
StepsModel
- Parameters:
steps- Step
-
-
Method Details
-
toGroovy
Description copied from interface:ParsableModelInterfaceConvert model to Jenkins Declarative Pipeline Syntax- Specified by:
toGroovyin interfaceParsableModelInterface- Returns:
- Jenkins Declarative Pipeline Syntax
-
toGroovyForPostModel
Convert steps to Groovy Format for Post Section- Returns:
- Steps in Groovy Format for Post Section
-