Class ExecuteCommand

java.lang.Object
org.concordion.api.AbstractCommand
org.concordion.internal.command.executeCommand.ExecuteCommand
All Implemented Interfaces:
Command

public class ExecuteCommand extends AbstractCommand
  • Constructor Details

    • ExecuteCommand

      public ExecuteCommand()
  • Method Details

    • modifyCommandCallTree

      public void modifyCommandCallTree(CommandCall commandCall, List<ExampleCommandCall> examples, List<CommandCall> beforeExamples)
      Description copied from interface: Command
      Used to modify the command call tree post parsing and before execution. Some things that might be done are: * Remove the example command from the parent object and put it in the examples list (or before examples) * Add new commands to examples or before examples * Modify the tree to put table or list execute commands on the right children elements.
      Specified by:
      modifyCommandCallTree in interface Command
      Overrides:
      modifyCommandCallTree in class AbstractCommand
      Parameters:
      commandCall - the command call element to modify
      examples - a list of examples
      beforeExamples - a list of "before" examples
    • addExecuteListener

      public void addExecuteListener(ExecuteListener listener)
    • removeExecuteListener

      public void removeExecuteListener(ExecuteListener listener)
    • execute

      public void execute(CommandCall commandCall, Evaluator evaluator, ResultRecorder resultRecorder, Fixture fixture)
      Specified by:
      execute in interface Command
      Overrides:
      execute in class AbstractCommand