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()
Command
getDescription
in interface Command
public String getUsage()
Command
public org.apache.commons.cli.Options getOptions()
Command
getOptions
in interface Command
public void main(String[] args)
public CommandState execute(CommandState state, String[] args) throws Exception
Command
Copyright © 2015–2020. All rights reserved.