|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ikrs.util.AbstractCommandFactory<Command> ikrs.util.DefaultCommandFactory ikrs.yuccasrv.commandline.YuccaCommandFactory
public class YuccaCommandFactory
Constructor Summary | |
---|---|
YuccaCommandFactory(Yucca server)
The constructor. |
Method Summary | |
---|---|
static java.lang.String[] |
getImplementedCommands()
Deprecated. |
protected Yucca |
getServer()
Get the factories server instance. |
Command |
make(java.lang.String name,
BasicType[] params)
Make a new Command with the given name and params. |
Methods inherited from class ikrs.util.DefaultCommandFactory |
---|
addSupportedCommand, getSupportedCommands |
Methods inherited from class ikrs.util.AbstractCommandFactory |
---|
getParentFactory, make, make, parse, setParentFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ikrs.util.CommandFactory |
---|
getParentFactory, getSupportedCommands, make, parse, setParentFactory |
Constructor Detail |
---|
public YuccaCommandFactory(Yucca server)
server
- If available pass the server instance; if not available, just pass null.Method Detail |
---|
protected Yucca getServer()
public Command make(java.lang.String name, BasicType[] params) throws UnknownCommandException, CommandStringIncompleteException
make
in interface CommandFactory<Command>
make
in class DefaultCommandFactory
name
- The command's name.params
- The command's params - in BasicType representation.
UnknownCommandException
CommandStringIncompleteException
public static java.lang.String[] getImplementedCommands()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |