|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.ArgumentList
ks.common.command.Command
ks.protocol.UserManagerCommand
Class to represent a command sent to the UserManager.
There are a variable number of arguments because this class represents a whole range of commands sent to the UserManager.
Field Summary | |
static java.lang.String |
actionArg
Action. |
static java.lang.String |
adminArg
Action. |
static java.lang.String |
noUserManagerInstalled
Error message when there is no registered UserManager. |
Constructor Summary | |
UserManagerCommand()
|
Method Summary | |
java.lang.String |
getAction()
Get the action. |
boolean |
isAdmin()
|
void |
setAction(java.lang.String action)
Set the action. |
void |
setAdmin(boolean admin)
|
Methods inherited from class ks.common.command.Command |
formatString, isError, isQuittable, setQuittable, toString |
Methods inherited from class ks.common.ArgumentList |
addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, clearArg, clearArg, clearArgMulti, clearArgMulti, getArg, getArg, getArgMulti, getArgMulti, multiArgs, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, setArg, setArg, singleArgs |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String noUserManagerInstalled
public static final java.lang.String actionArg
public static final java.lang.String adminArg
Constructor Detail |
public UserManagerCommand()
Method Detail |
public void setAction(java.lang.String action)
action
- desired action.public java.lang.String getAction()
public void setAdmin(boolean admin)
admin
- public boolean isAdmin()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |