|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectSubCommand
public class SubCommand
| Constructor Summary | |
|---|---|
SubCommand(String key,
String description,
Class appClass)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getDescription()
This method returns the description of the sub-command. |
String |
getKey()
This method returns the key of this sub-command. |
ParamParser |
getParamParser()
This method returns a parameter parser instance that is able to handle the parameters accepted by this sub-command. |
void |
run(ParamParser paramParser)
This method is used to start the application represented by this sub-command. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubCommand(String key,
String description,
Class appClass)
| Method Detail |
|---|
public String getDescription()
public ParamParser getParamParser()
public void run(ParamParser paramParser)
public String getKey()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||