Class WhenModel
java.lang.Object
io.jenkins.plugins.pipeline.models.AbstractModel
io.jenkins.plugins.pipeline.models.WhenModel
- All Implemented Interfaces:
ParsableModelInterface
Model Class for Jenkins Declarative Pipeline When Section
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jenkins.plugins.pipeline.models.AbstractModel
optionalBooleanToGroovy, optionalStringToGroovy
-
Field Details
-
directive
- See Also:
-
beforeAgentKey
- See Also:
-
-
Constructor Details
-
WhenModel
- Parameters:
whenRuleList
- List of when rules
-
WhenModel
- Parameters:
whenConditionModel
-WhenConditionModel
-
-
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
-