public enum CmdAcl extends Enum<CmdAcl>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullprotected String getAclVal()
protected void setAclVal(String aclVal)
Copyright © 2018 "Tigase, Inc.". All rights reserved.