org.apache.activemq.console.command
Class EncryptCommand
java.lang.Object
org.apache.activemq.console.command.AbstractCommand
org.apache.activemq.console.command.EncryptCommand
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- DecryptCommand
public class EncryptCommand
- extends AbstractCommand
|
Method Summary |
protected void |
handleOption(String token,
List<String> tokens)
Handle the general options for each command, which includes -h, -?,
--help, -D, --version. |
protected void |
printHelp()
Print the help messages for the specific task |
protected void |
runTask(List<String> tokens)
Run the specific task. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
helpFile
protected String[] helpFile
EncryptCommand
public EncryptCommand()
printHelp
protected void printHelp()
- Description copied from class:
AbstractCommand
- Print the help messages for the specific task
- Specified by:
printHelp in class AbstractCommand
runTask
protected void runTask(List<String> tokens)
throws Exception
- Description copied from class:
AbstractCommand
- Run the specific task.
- Specified by:
runTask in class AbstractCommand
- Parameters:
tokens - - command arguments
- Throws:
Exception
handleOption
protected void handleOption(String token,
List<String> tokens)
throws Exception
- Description copied from class:
AbstractCommand
- Handle the general options for each command, which includes -h, -?,
--help, -D, --version.
- Overrides:
handleOption in class AbstractCommand
- Parameters:
token - - option token to handletokens - - succeeding command arguments
- Throws:
Exception
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.