Package org.concordion.api
Class CommandCall
java.lang.Object
org.concordion.api.CommandCall
Nested CommandCalls form an abstract syntax tree. (The XML is the concrete
syntax tree.)
-
Constructor Summary
ConstructorDescriptionCommandCall
(CommandCall parent, Command command, Element element, String expression, Resource resource) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendChild
(CommandCall commandNode) boolean
void
execute
(Evaluator evaluator, ResultRecorder resultRecorder, Fixture fixture) getConstantForExecution
(String levelVariable) getParameter
(String parameter) getParameter
(String camelCaseParameterName, String spinalCaseParameterName) boolean
void
modifyTree
(List<ExampleCommandCall> examples, List<CommandCall> beforeExamples) void
setBypassExecution
(boolean bypassExecution) void
setConstantForExecution
(String name, Object value) void
setElement
(Element element) void
setParameters
(Map<String, String> parameters) void
setUp
(Evaluator evaluator, ResultRecorder resultRecorder, Fixture fixture) void
transferToParent
(CommandCall parent) void
verify
(Evaluator evaluator, ResultRecorder resultRecorder, Fixture fixture)
-
Constructor Details
-
CommandCall
public CommandCall(CommandCall parent, Command command, Element element, String expression, Resource resource)
-
-
Method Details
-
setBypassExecution
public void setBypassExecution(boolean bypassExecution) -
bypassExecution
public boolean bypassExecution() -
setConstantForExecution
-
getConstantForExecution
-
getParent
-
setUp
-
execute
-
verify
-
appendChild
-
getChildren
-
getCommand
-
getElement
-
getExpression
-
getResource
-
hasChildCommands
public boolean hasChildCommands() -
setElement
-
setParameters
-
getParameter
-
getParameter
-
modifyTree
-
transferToParent
-