|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectiaik.tc.utils.cmdline.SubCommand
public class SubCommand
| Constructor Summary | |
|---|---|
SubCommand(java.lang.String key,
java.lang.String description,
java.lang.Class appClass)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
This method returns the description of the sub-command. |
java.lang.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 java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubCommand(java.lang.String key,
java.lang.String description,
java.lang.Class appClass)
| Method Detail |
|---|
public java.lang.String getDescription()
public ParamParser getParamParser()
public void run(ParamParser paramParser)
throws CommandlineException
CommandlineExceptionpublic java.lang.String getKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||