Class SubScriptModel
java.lang.Object
io.jenkins.plugins.pipeline.models.AbstractModel
io.jenkins.plugins.pipeline.models.SubScriptModel
- All Implemented Interfaces:
ParsableModelInterface
Model Class for
ScriptModel
inner script definitions-
Field Summary
-
Constructor Summary
ConstructorDescriptionSubScriptModel
(String directive, Optional<String> value, ScriptModel scriptModel) -
Method Summary
Methods inherited from class io.jenkins.plugins.pipeline.models.AbstractModel
optionalBooleanToGroovy, optionalStringToGroovy
-
Field Details
-
valueKey
-
-
Constructor Details
-
SubScriptModel
- Parameters:
directive
- Name of the directivevalue
- Value of the directivescriptModel
-ScriptModel
-
-
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
-