org.apache.activemq.console.command
public class ShellCommand extends AbstractCommand
COMMAND_OPTION_DELIMETER, context
Constructor and Description |
---|
ShellCommand() |
ShellCommand(boolean interactive) |
Modifier and Type | Method and Description |
---|---|
boolean |
isInteractive() |
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<java.lang.String> tokens)
Parses for specific command task.
|
void |
setInteractive(boolean interactive) |
execute, handleOption, parseOptions, setCommandContext
public ShellCommand()
public ShellCommand(boolean interactive)
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 usepublic boolean isInteractive()
public void setInteractive(boolean interactive)
protected void runTask(java.util.List<java.lang.String> tokens) throws java.lang.Exception
runTask
in class AbstractCommand
tokens
- - command argumentsjava.lang.Exception
protected void printHelp()
printHelp
in class AbstractCommand
Copyright © 2005-2014. All Rights Reserved.