Methods Summary |
---|
public void | addCommand(ValidCommand command)Adds the ValidCommand to ValidCommandsList
validCommands.put(command.getName(), command);
|
public java.util.Iterator | getCommands()Return the list of ValidCommand's
return validCommands.values().iterator();
|
public ValidCommand | getValidCommand(java.lang.String commandName)Returns the ValidCommand that macthes the parameter command name
return (ValidCommand) validCommands.get(commandName);
|
public void | removeAllCommands()Removes all commands from this list
validCommands.clear();
|
public int | size()Return the number of commands in the list
return validCommands.size();
|