public class EncryptCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
protected String[] |
helpFile |
COMMAND_OPTION_DELIMETER, context
Constructor and Description |
---|
EncryptCommand() |
Modifier and Type | Method and Description |
---|---|
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.
|
execute, parseOptions, printHelpFromFile, setCommandContext
public EncryptCommand()
public String getOneLineDescription()
protected void printHelp()
AbstractCommand
printHelp
in class AbstractCommand
protected void runTask(List<String> tokens) throws Exception
AbstractCommand
runTask
in class AbstractCommand
tokens
- - command argumentsException
protected void handleOption(String token, List<String> tokens) throws Exception
AbstractCommand
handleOption
in class AbstractCommand
token
- - option token to handletokens
- - succeeding command argumentsException
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.