Class ModelASTScriptBlock
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement
org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep
org.jenkinsci.plugins.pipeline.modeldefinition.ast.AbstractModelASTCodeBlock
org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTScriptBlock
- All Implemented Interfaces:
ModelASTMarkerInterface
Represents the special step for
ScriptStep
, which are executed without validation against the declarative subset.- Author:
- Andrew Bayer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(ModelValidator validator) Called to do whatever validation is necessary for this element.Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.ast.AbstractModelASTCodeBlock
codeBlockAsString, equals, getSingleValue, isLiteralSingleArg, toGroovy, toString
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep
blockedStepsBase, getArgs, getBlockedSteps, getName, hashCode, removeSourceLocation, setArgs, setName, toJSON
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement
getSourceLocation, nullIfEmpty, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, setSourceLocation, toGroovy, toGroovy, toGroovyArgList, toGroovyArgList, toGroovyBlock, toGroovyBlock, toGroovyBlock, toGroovyCheckEmpty, toJSON, toJSONArray, toJSONArray, toJSONCheckEmpty, toJSONObject, validate, validate, validate
-
Constructor Details
-
ModelASTScriptBlock
-
-
Method Details
-
validate
Description copied from class:ModelASTElement
Called to do whatever validation is necessary for this element. Overridden in most cases.- Specified by:
validate
in interfaceModelASTMarkerInterface
- Overrides:
validate
in classModelASTStep
- Parameters:
validator
- AModelValidator
to use for more complicated validation.
-