Class PipelineModel
java.lang.Object
io.jenkins.plugins.pipeline.models.AbstractModel
io.jenkins.plugins.pipeline.models.PipelineModel
- All Implemented Interfaces:
ParsableModelInterface
Model Class for Jenkins Declarative Pipeline
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jenkins.plugins.pipeline.models.AbstractModel
optionalBooleanToGroovy, optionalStringToGroovy
-
Field Details
-
directive
- See Also:
-
-
Constructor Details
-
PipelineModel
public PipelineModel()
-
-
Method Details
-
toGroovy
Description copied from interface:ParsableModelInterface
Convert model to Jenkins Declarative Pipeline Syntax- Specified by:
toGroovy
in interfaceParsableModelInterface
- Returns:
- Jenkins Declarative Pipeline Syntax
-
toPrettyGroovy
Converts Model to Pretty Jenkins Declarative Pipeline Syntax- Returns:
-
validate
public org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef validate()Convert Model toModelASTPipelineDef
- Returns:
ModelASTPipelineDef
-