Package tigase.server
Enum Class CmdAcl.Type
- All Implemented Interfaces:
Serializable
,Comparable<CmdAcl.Type>
,Constable
- Enclosing class:
- CmdAcl
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOnly local server administrators can execute command.Everybody can execute the command, even users from a different servers.Only users who have an account within the given domain can execute the command.Only user who is an admin of the given domain can execute the command.Only user who is an owner of the given domain can execute the command.Comma separated list of JIDs of users who can execute the command.Only users who have accounts on this local server can execute the command.No one is allowed to execute the command, even server administrators! -
Method Summary
Modifier and TypeMethodDescriptionstatic CmdAcl.Type
Returns the enum constant of this class with the specified name.static CmdAcl.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
Everybody can execute the command, even users from a different servers. -
ADMIN
Only local server administrators can execute command. -
LOCAL
Only users who have accounts on this local server can execute the command. -
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. -
NONE
No one is allowed to execute the command, even server administrators!
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-