org.apache.activemq.console.command
Class EncryptCommand

java.lang.Object
  extended by org.apache.activemq.console.command.AbstractCommand
      extended by org.apache.activemq.console.command.EncryptCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
DecryptCommand

public class EncryptCommand
extends AbstractCommand


Field Summary
protected  java.lang.String[] helpFile
           
 
Fields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context
 
Constructor Summary
EncryptCommand()
           
 
Method Summary
protected  void handleOption(java.lang.String token, java.util.List<java.lang.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(java.util.List<java.lang.String> tokens)
          Run the specific task.
 
Methods inherited from class org.apache.activemq.console.command.AbstractCommand
execute, parseOptions, setCommandContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

helpFile

protected java.lang.String[] helpFile
Constructor Detail

EncryptCommand

public EncryptCommand()
Method Detail

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(java.util.List<java.lang.String> tokens)
                throws java.lang.Exception
Description copied from class: AbstractCommand
Run the specific task.

Specified by:
runTask in class AbstractCommand
Parameters:
tokens - - command arguments
Throws:
java.lang.Exception

handleOption

protected void handleOption(java.lang.String token,
                            java.util.List<java.lang.String> tokens)
                     throws java.lang.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 handle
tokens - - succeeding command arguments
Throws:
java.lang.Exception


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.