public class ComposedTaskParser extends Object
| Constructor and Description |
|---|
ComposedTaskParser() |
| Modifier and Type | Method and Description |
|---|---|
ComposedTaskNode |
parse(String composedTaskName,
String composedTaskDefinition)
Parse a composed task definition into an abstract syntax tree (AST).
|
ComposedTaskNode |
parse(String composedTaskName,
String composedTaskDefinition,
boolean validate)
Parse a composed task definition into an abstract syntax tree (AST).
|
String |
toString()
Show the parsing progress in the output string.
|
public ComposedTaskNode parse(String composedTaskName, String composedTaskDefinition)
composedTaskName - the name of the composed taskcomposedTaskDefinition - the textual composed task definitionComposedTaskValidationException - if any problems occur during parsingpublic ComposedTaskNode parse(String composedTaskName, String composedTaskDefinition, boolean validate)
composedTaskName - the name of the composed taskcomposedTaskDefinition - the textual composed task definitionvalidate - if true then extra validation will be performed on the ASTComposedTaskValidationException - if any problems occur during parsingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.