public class ExplainCommand extends Object implements Command
ExplainOperation.global, missingFileError| Constructor and Description |
|---|
ExplainCommand() |
| Modifier and Type | Method and Description |
|---|---|
CommandState |
execute(CommandState state,
String[] args)
All commands offer an execute method that can be chained from previous commands.
|
String |
getDescription()
Brief description of the command.
|
String |
getName()
Name of the command.
|
org.apache.commons.cli.Options |
getOptions()
Command-line options for the command.
|
String |
getUsage()
Command-line usage for the command.
|
void |
main(String[] args)
Handle the command-line and file operations for the ExplainOperation.
|
public String getDescription()
CommandgetDescription in interface Commandpublic String getUsage()
Commandpublic org.apache.commons.cli.Options getOptions()
CommandgetOptions in interface Commandpublic void main(String[] args)
public CommandState execute(CommandState state, String[] args) throws Exception
CommandCopyright © 2015–2020. All rights reserved.