Class SubScriptModel
- java.lang.Object
-
- io.jenkins.plugins.pipeline.models.AbstractModel
-
- io.jenkins.plugins.pipeline.models.SubScriptModel
-
- All Implemented Interfaces:
ParsableModelInterface
public class SubScriptModel extends AbstractModel implements ParsableModelInterface
Model Class forScriptModel
inner script definitions
-
-
Constructor Summary
Constructors Constructor Description SubScriptModel(String directive, Optional<String> value, ScriptModel scriptModel)
-
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
-
-
-
-
Field Detail
-
valueKey
public static String valueKey
-
-
Constructor Detail
-
SubScriptModel
public SubScriptModel(String directive, Optional<String> value, ScriptModel scriptModel)
- Parameters:
directive
- Name of the directivevalue
- Value of the directivescriptModel
-ScriptModel
-
-
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
-
-