|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CmdAcl>
tigase.server.CmdAcl
public enum CmdAcl
| Enum Constant Summary | |
|---|---|
ADMIN
Only local server administrators can execute command. |
|
ALL
Everybody can execute the command, even users from a different servers. |
|
DOMAIN
Only users who have an account within the given domain can execute the command. |
|
JID
Comma separated list of JIDs of users who can execute the command. |
|
LOCAL
Only users who have accounts on this local server can execute the command. |
|
OTHER
This is the default. |
|
| Method Summary | |
|---|---|
protected String |
getAclVal()
|
protected void |
setAclVal(String aclVal)
|
static CmdAcl |
valueof(String acl)
Method description |
static CmdAcl |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CmdAcl[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CmdAcl ALL
public static final CmdAcl ADMIN
public static final CmdAcl LOCAL
public static final CmdAcl DOMAIN
public static final CmdAcl JID
public static final CmdAcl OTHER
| Method Detail |
|---|
public static CmdAcl[] values()
for (CmdAcl c : CmdAcl.values()) System.out.println(c);
public static CmdAcl valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static CmdAcl valueof(String acl)
acl -
protected String getAclVal()
protected void setAclVal(String aclVal)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||