public final class CommandRepository extends Object
| Constructor and Description |
|---|
CommandRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommandDefinition(CommandDefinition commandDef)
Adds a new command definition to the repository.
|
CommandDefinition |
getCommand(String sName)
Returns the named command definition.
|
public void addCommandDefinition(CommandDefinition commandDef)
commandDef - The command definition to be addedpublic CommandDefinition getCommand(String sName)
sName - The command nameCopyright © 2013. All Rights Reserved.