Class ExecutionContext

java.lang.Object
org.apache.jackrabbit.vault.util.console.ExecutionContext
Direct Known Subclasses:
ConsoleExecutionContext, VltExecutionContext

public class ExecutionContext extends Object
Console...
  • Field Details

    • commands

      protected final ArrayList commands
      list of commands
  • Constructor Details

  • Method Details

    • printHelp

      public void printHelp(String cmd)
    • getApplication

      public AbstractApplication getApplication()
    • getCmdHelpFormatter

      protected org.apache.commons.cli2.util.HelpFormatter getCmdHelpFormatter(CliCommand cmd)
    • getCommandsGroup

      public org.apache.commons.cli2.Group getCommandsGroup()
    • installCommand

      public void installCommand(CliCommand c)
    • getCommand

      protected CliCommand getCommand(String name)
    • execute

      public boolean execute(String line)
    • execute

      public boolean execute(String[] args)
    • execute

      public boolean execute(org.apache.commons.cli2.CommandLine cl)
    • doExecute

      protected boolean doExecute(CliCommand cmd, org.apache.commons.cli2.CommandLine cl) throws Exception
      Throws:
      Exception