Class ChildPostModel
- java.lang.Object
-
- io.jenkins.plugins.pipeline.models.AbstractModel
-
- io.jenkins.plugins.pipeline.models.ChildPostModel
-
- All Implemented Interfaces:
ParsableModelInterface
public class ChildPostModel extends AbstractModel implements ParsableModelInterface
Model Class for Jenkins Declarative Pipeline Post Section Conditions
-
-
Constructor Summary
Constructors Constructor Description ChildPostModel(String postType, Optional<StepsModel> postSteps, Optional<ScriptModel> postScript)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toGroovy()
Convert model to Jenkins Declarative Pipeline Syntax-
Methods inherited from class io.jenkins.plugins.pipeline.models.AbstractModel
optionalBooleanToGroovy, optionalStringToGroovy
-
-
-
-
Constructor Detail
-
ChildPostModel
public ChildPostModel(String postType, Optional<StepsModel> postSteps, Optional<ScriptModel> postScript)
- Parameters:
postType
- Post condition typepostSteps
- PostStepsModel
postScript
- postScriptModel
-
-
Method Detail
-
toGroovy
public String toGroovy()
Description copied from interface:ParsableModelInterface
Convert model to Jenkins Declarative Pipeline Syntax- Specified by:
toGroovy
in interfaceParsableModelInterface
- Returns:
- Jenkins Declarative Pipeline Syntax
-
-