public abstract class AbstractModelASTCodeBlock extends ModelASTStep
ModelASTScriptBlock,
ModelASTWhenExpression| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModelASTCodeBlock(Object sourceLocation,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
codeBlockAsString() |
boolean |
equals(Object o) |
protected ModelASTValue |
getSingleValue() |
protected boolean |
isLiteralSingleArg() |
String |
toGroovy()
Translates this element and any children it may have into Pipeline Config-formatted Groovy, without any indentations.
|
String |
toString() |
blockedStepsBase, getArgs, getBlockedSteps, getName, hashCode, removeSourceLocation, setArgs, setName, toJSON, validategetSourceLocation, nullIfEmpty, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, setSourceLocation, toGroovy, toGroovy, toGroovyArgList, toGroovyArgList, toGroovyBlock, toGroovyBlock, toGroovyBlock, toGroovyCheckEmpty, toJSON, toJSONArray, toJSONArray, toJSONCheckEmpty, toJSONObject, validate, validate, validate@NonNull public String toGroovy()
ModelASTElementtoGroovy in interface ModelASTMarkerInterfacetoGroovy in class ModelASTStepString of Groovy code for this element and its children.public String codeBlockAsString()
protected ModelASTValue getSingleValue()
protected boolean isLiteralSingleArg()
public boolean equals(Object o)
ModelASTElementequals in class ModelASTSteppublic String toString()
ModelASTElementtoString in class ModelASTStepCopyright © 2016–2021. All rights reserved.