public class BoundedCommand extends IndefiniteCommand
| 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
|
addReference, appendUsage, getDefaultReference, getDescription, getName, getReferences, getUsage, resetUsage, runpublic BoundedCommand(java.lang.String name,
java.lang.String description,
CommandLogic logic,
int min)
name - Command namedescription - Command descriptionlogic - Command logicmin - Minimum number of parameterspublic BoundedCommand(java.lang.String name,
java.lang.String description,
CommandLogic logic,
int min,
int max)
name - Command namedescription - Command descriptionlogic - Command logicmin - Minimum number of parametersmax - Maximum number of paramters