Class ModelASTBuildParameter
- java.lang.Object
-
- org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement
-
- org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMethodCall
-
- org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameter
-
- All Implemented Interfaces:
ModelASTMarkerInterface
,ModelASTMethodArg
public class ModelASTBuildParameter extends ModelASTMethodCall
A single parameter definition, eventually corresponding to aParameterDefinition
- Author:
- Andrew Bayer
-
-
Constructor Summary
Constructors Constructor Description ModelASTBuildParameter(Object sourceLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
toString()
void
validate(ModelValidator validator)
Called to do whatever validation is necessary for this element.-
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMethodCall
getArgs, getBlockedSteps, getName, hashCode, removeSourceLocation, setArgs, setName, toGroovy, 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 Detail
-
ModelASTBuildParameter
public ModelASTBuildParameter(Object sourceLocation)
-
-
Method Detail
-
validate
public void validate(@NonNull ModelValidator validator)
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 classModelASTMethodCall
- Parameters:
validator
- AModelValidator
to use for more complicated validation.
-
toString
public String toString()
Description copied from class:ModelASTElement
- Overrides:
toString
in classModelASTMethodCall
-
equals
public boolean equals(Object o)
Description copied from class:ModelASTElement
- Overrides:
equals
in classModelASTMethodCall
-
-