public class ModelASTTreeStep extends ModelASTStep
| Constructor and Description |
|---|
ModelASTTreeStep(Object sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<ModelASTStep> |
getChildren() |
int |
hashCode() |
void |
removeSourceLocation()
Removes the source location value from this element.
|
void |
setChildren(List<ModelASTStep> children) |
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.
|
blockedStepsBase, getArgs, getBlockedSteps, getName, setArgs, setNamegetSourceLocation, nullIfEmpty, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, setSourceLocation, toGroovy, toGroovy, toGroovyArgList, toGroovyArgList, toGroovyBlock, toGroovyBlock, toGroovyBlock, toGroovyCheckEmpty, toJSON, toJSONArray, toJSONArray, toJSONCheckEmpty, toJSONObject, validate, validate, validatepublic ModelASTTreeStep(Object sourceLocation)
@NonNull public net.sf.json.JSONObject toJSON()
ModelASTElementtoJSON in interface ModelASTMarkerInterfacetoJSON in class ModelASTStepJSONObject or JSONArray but for some leaf nodes, may be a String or
other simple class.public void validate(@NonNull
ModelValidator validator)
ModelASTElementvalidate in interface ModelASTMarkerInterfacevalidate in class ModelASTStepvalidator - A ModelValidator to use for more complicated validation.@NonNull public String toGroovy()
ModelASTElementtoGroovy in interface ModelASTMarkerInterfacetoGroovy in class ModelASTStepString of Groovy code for this element and its children.public void removeSourceLocation()
ModelASTElementremoveSourceLocation in interface ModelASTMarkerInterfaceremoveSourceLocation in class ModelASTSteppublic List<ModelASTStep> getChildren()
public void setChildren(List<ModelASTStep> children)
public String toString()
ModelASTElementtoString in class ModelASTSteppublic boolean equals(Object o)
ModelASTElementequals in class ModelASTSteppublic int hashCode()
ModelASTElementhashCode in class ModelASTStepCopyright © 2016–2021. All rights reserved.