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  String[] helpFile
           
 
Fields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context
 
Constructor Summary
EncryptCommand()
           
 
Method Summary
 String getName()
           
 String getOneLineDescription()
           
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 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 String[] helpFile
Constructor Detail

EncryptCommand

public EncryptCommand()
Method Detail

getName

public String getName()

getOneLineDescription

public String getOneLineDescription()

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 handle
tokens - - succeeding command arguments
Throws:
Exception


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.