Package | Description |
---|---|
com.jmodule.def |
Modifier and Type | Method and Description |
---|---|
CommandLogic |
CommandLogic.addOption(Option t)
Adds a possible option to the command.
|
Constructor and Description |
---|
BoundedCommand(java.lang.String name,
java.lang.String description,
CommandLogic logic,
int min)
Construcs a bounded command with a minimum number of parameters
|
BoundedCommand(java.lang.String name,
java.lang.String description,
CommandLogic logic,
int min,
int max)
Construcs a bounded command with a minimum and maximum number of parameters
|
Command(java.lang.String name,
java.lang.String description,
CommandLogic logic)
Sets the name of the command function (for example, "find" or "grep") and
inherits parameters from command logic, if any.
|
IndefiniteCommand(java.lang.String name,
java.lang.String description,
CommandLogic logic) |