org.apache.activemq.console.command
Interface Command

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

public interface Command


Method Summary
 void execute(List<String> tokens)
          Execute the specified command
 String getName()
           
 String getOneLineDescription()
           
 void setCommandContext(CommandContext context)
           
 

Method Detail

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


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.