public abstract class AbstractModelASTCodeBlock extends ModelASTStep
ModelASTScriptBlock,
ModelASTWhenExpression| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModelASTCodeBlock(Object sourceLocation,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected 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, setSourceLocationpublic String toGroovy()
ModelASTElementtoGroovy in class ModelASTStepString of Groovy code for this element and its children.protected String codeBlockAsString()
protected ModelASTValue getSingleValue()
protected boolean isLiteralSingleArg()
public boolean equals(Object o)
ModelASTElementequals in class ModelASTSteppublic String toString()
ModelASTElementtoString in class ModelASTStepCopyright © 2016–2017. All rights reserved.