Interface Command

All Known Implementing Classes:
AbstractAmqCommand, AbstractCommand, AbstractJmxCommand, AmqBrowseCommand, BrowseCommand, BstatCommand, ConsumerCommand, CreateCommand, DecryptCommand, DstatCommand, EncryptCommand, ListCommand, ProducerCommand, PurgeCommand, QueryCommand, ShellCommand, ShutdownCommand, StartCommand, StopGracefullyCommand, StoreExportCommand

public interface Command
  • Method Details

    • getName

      String getName()
    • getOneLineDescription

      String getOneLineDescription()
    • setCommandContext

      void setCommandContext(CommandContext context)
    • execute

      void execute(List<String> tokens) throws Exception
      Execute the specified command
      Parameters:
      tokens - - arguments to the command
      Throws:
      Exception