public static enum CmdAcl.Type extends Enum<CmdAcl.Type>
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.
|
DOMAIN_ADMIN
Only user who is an admin of the given domain can execute the command.
|
DOMAIN_OWNER
Only user who is an owner of 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.
|
NONE
No one is allowed to execute the command, even server administrators!
|
Modifier and Type | Method and Description |
---|---|
static CmdAcl.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmdAcl.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmdAcl.Type ALL
public static final CmdAcl.Type ADMIN
public static final CmdAcl.Type LOCAL
public static final CmdAcl.Type DOMAIN
public static final CmdAcl.Type DOMAIN_ADMIN
public static final CmdAcl.Type DOMAIN_OWNER
public static final CmdAcl.Type JID
public static final CmdAcl.Type NONE
public static CmdAcl.Type[] values()
for (CmdAcl.Type c : CmdAcl.Type.values()) System.out.println(c);
public static CmdAcl.Type 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 nullCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.