public class EncryptCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
helpFile |
COMMAND_OPTION_DELIMETER, context| Constructor and Description |
|---|
EncryptCommand() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getOneLineDescription() |
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.
|
execute, parseOptions, setCommandContextpublic java.lang.String getName()
public java.lang.String getOneLineDescription()
protected void printHelp()
AbstractCommandprintHelp in class AbstractCommandprotected void runTask(java.util.List<java.lang.String> tokens)
throws java.lang.Exception
AbstractCommandrunTask in class AbstractCommandtokens - - command argumentsjava.lang.Exceptionprotected void handleOption(java.lang.String token,
java.util.List<java.lang.String> tokens)
throws java.lang.Exception
AbstractCommandhandleOption in class AbstractCommandtoken - - option token to handletokens - - succeeding command argumentsjava.lang.ExceptionCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.