|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.console.command.AbstractCommand
org.apache.activemq.console.command.ShellCommand
public class ShellCommand
Field Summary | |
---|---|
protected java.lang.String[] |
helpFile
|
Fields inherited from class org.apache.activemq.console.command.AbstractCommand |
---|
COMMAND_OPTION_DELIMETER |
Constructor Summary | |
---|---|
ShellCommand()
|
Method Summary | |
---|---|
static int |
main(java.lang.String[] args,
java.io.InputStream in,
java.io.PrintStream out)
Main method to run a command shell client. |
protected void |
printHelp()
Print the help messages for the browse command |
protected void |
runTask(java.util.List tokens)
Parses for specific command task, default task is a start task. |
Methods inherited from class org.apache.activemq.console.command.AbstractCommand |
---|
execute, handleOption, parseOptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] helpFile
Constructor Detail |
---|
public ShellCommand()
Method Detail |
---|
public static int main(java.lang.String[] args, java.io.InputStream in, java.io.PrintStream out)
args
- - command line argumentsin
- - input stream to useout
- - output stream to use
protected void runTask(java.util.List tokens) throws java.lang.Exception
runTask
in class AbstractCommand
tokens
- - command arguments
java.lang.Exception
protected void printHelp()
printHelp
in class AbstractCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |