|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ikrs.util.AbstractCommand ikrs.util.DefaultCommand ikrs.yuccasrv.commandline.YuccaCommand ikrs.yuccasrv.commandline.CommandHelp
public class CommandHelp
This is the default HELP command implementation.
Constructor Summary | |
---|---|
CommandHelp(YuccaCommandFactory factory,
java.lang.String name,
BasicType[] params)
|
Method Summary | |
---|---|
int |
execute()
This is the final execution method - the default implementation has only one simple effect: if the command name equals "QUIT" or "EXIT" (not case sensitive) the method calls System.exit(0). |
Methods inherited from class ikrs.yuccasrv.commandline.YuccaCommand |
---|
getFactory, setFactory, setName, setParams |
Methods inherited from class ikrs.util.DefaultCommand |
---|
compareTo |
Methods inherited from class ikrs.util.AbstractCommand |
---|
getName, getParamAt, getParamCount, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ikrs.util.Command |
---|
getName, getParamAt, getParamCount, toString |
Constructor Detail |
---|
public CommandHelp(YuccaCommandFactory factory, java.lang.String name, BasicType[] params)
Method Detail |
---|
public int execute()
execute
in interface Command
execute
in class YuccaCommand
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |