Class ChildPostModel
java.lang.Object
io.jenkins.plugins.pipeline.models.AbstractModel
io.jenkins.plugins.pipeline.models.ChildPostModel
- All Implemented Interfaces:
ParsableModelInterface
Model Class for Jenkins Declarative Pipeline Post Section Conditions
-
Constructor Summary
ConstructorDescriptionChildPostModel
(String postType, Optional<StepsModel> postSteps, Optional<ScriptModel> postScript) -
Method Summary
Methods inherited from class io.jenkins.plugins.pipeline.models.AbstractModel
optionalBooleanToGroovy, optionalStringToGroovy
-
Constructor Details
-
ChildPostModel
public ChildPostModel(String postType, Optional<StepsModel> postSteps, Optional<ScriptModel> postScript) - Parameters:
postType
- Post condition typepostSteps
- PostStepsModel
postScript
- postScriptModel
-
-
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
-