@ToString(includeSuper=true,
includeSuperProperties=true)
public class ModelASTStep
extends ModelASTElement
| Constructor and Description |
|---|
ModelASTStep(Object sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
blockedStepsBase() |
boolean |
equals(Object o) |
ModelASTArgumentList |
getArgs() |
static Map<String,String> |
getBlockedSteps()
A map of step names which are banned from being executed within a step block.
|
String |
getName() |
int |
hashCode() |
void |
removeSourceLocation()
Removes the source location value from this element.
|
void |
setArgs(ModelASTArgumentList args) |
void |
setName(String name) |
String |
toGroovy()
Translates this element and any children it may have into Pipeline Config-formatted Groovy, without any indentations.
|
net.sf.json.JSONObject |
toJSON()
Translates this element and any children it may have into JSON conforming to the schema.
|
String |
toString() |
void |
validate(ModelValidator validator)
Called to do whatever validation is necessary for this element.
|
getSourceLocation, setSourceLocationpublic ModelASTStep(Object sourceLocation)
public static Map<String,String> getBlockedSteps()
public net.sf.json.JSONObject toJSON()
ModelASTElementtoJSON in class ModelASTElementJSONObject or JSONArray but for some leaf nodes, may be a String or
other simple class.public void validate(ModelValidator validator)
ModelASTElementvalidate in class ModelASTElementvalidator - A ModelValidator to use for more complicated validation.public String toGroovy()
ModelASTElementtoGroovy in class ModelASTElementString of Groovy code for this element and its children.public void removeSourceLocation()
ModelASTElementremoveSourceLocation in class ModelASTElementpublic String getName()
public void setName(String name)
public ModelASTArgumentList getArgs()
public void setArgs(ModelASTArgumentList args)
public String toString()
ModelASTElementtoString in class ModelASTElementpublic boolean equals(Object o)
ModelASTElementequals in class ModelASTElementpublic int hashCode()
ModelASTElementhashCode in class ModelASTElementCopyright © 2016–2017. All rights reserved.