|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.corepeer.ui.CommandManager
public class CommandManager
Implements the main of Command Pattern. All CorePeer commands must pass here.
Constructor Summary | |
---|---|
CommandManager()
|
Method Summary | |
---|---|
void |
executeCommand(java.lang.String[] params)
Method that checks what Command will be able to execute
the command in parameter "param". |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandManager()
Method Detail |
---|
public void executeCommand(java.lang.String[] params) throws java.lang.Exception
Command
will be able to execute
the command in parameter "param". It will verify in it's map of commands,
and then, call his run method.
params
- This parameter must contain the Command string
representation, followed by it's parameters.
java.lang.Exception
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |