|
|||||||||
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
public class DefaultCommand
Constructor Summary | |
---|---|
DefaultCommand(java.lang.String name,
BasicType[] params)
|
Method Summary | |
---|---|
int |
compareTo(Command c)
|
int |
execute()
This is the final execution method - it does nothing but returning 1. |
Methods inherited from class ikrs.util.AbstractCommand |
---|
getName, getParamAt, getParamCount, setName, setParams, 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 DefaultCommand(java.lang.String name, BasicType[] params)
Method Detail |
---|
public int execute()
execute
in interface Command
execute
in class AbstractCommand
public int compareTo(Command c)
compareTo
in interface java.lang.Comparable<Command>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |