public class BasicCommandInfo extends Object implements CommandInfo
| Constructor and Description |
|---|
BasicCommandInfo(String name,
String description,
String usage,
org.apache.commons.cli.Options options,
List<String> resources) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDependencyResourceNames()
Returns a list of jar that this command depends on
|
String |
getDescription()
A short description for the command indicating what it does.
|
String |
getName()
Returns a name for this command.
|
org.apache.commons.cli.Options |
getOptions()
Returns the Options that the command is prepared to handle.
|
String |
getUsage()
How the user should invoke this command
|
String |
toString() |
public String getName()
CommandInfogetName in interface CommandInfopublic String getDescription()
CommandInfogetDescription in interface CommandInfopublic String getUsage()
CommandInfogetUsage in interface CommandInfopublic org.apache.commons.cli.Options getOptions()
CommandInfogetOptions in interface CommandInfopublic List<String> getDependencyResourceNames()
CommandInfogetDependencyResourceNames in interface CommandInfoCopyright © 2013. All Rights Reserved.