Enum Privilege.Domain
- java.lang.Object
-
- java.lang.Enum<Privilege.Domain>
-
- com.priint.pubserver.comet.bridge.access.Privilege.Domain
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Privilege.Domain>
- Enclosing class:
- Privilege
public static enum Privilege.Domain extends java.lang.Enum<Privilege.Domain>
The enum Domain.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Privilege.DomainvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Privilege.Domain[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMET
public static final Privilege.Domain COMET
Comet domain.
-
ADMIN
public static final Privilege.Domain ADMIN
Admin domain.
-
-
Method Detail
-
values
public static Privilege.Domain[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Privilege.Domain c : Privilege.Domain.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Privilege.Domain valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-