public enum AccessLevel extends java.lang.Enum<AccessLevel>
Enum Constant and Description |
---|
ADMIN |
DEVELOPER |
GUEST |
INVALID |
MAINTAINER |
MASTER
Deprecated.
|
MINIMAL_ACCESS |
NONE |
OWNER |
REPORTER |
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
value |
Modifier and Type | Method and Description |
---|---|
static AccessLevel |
forValue(java.lang.Integer value) |
java.lang.String |
toString() |
java.lang.Integer |
toValue() |
static AccessLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessLevel INVALID
public static final AccessLevel NONE
public static final AccessLevel MINIMAL_ACCESS
public static final AccessLevel GUEST
public static final AccessLevel REPORTER
public static final AccessLevel DEVELOPER
@Deprecated public static final AccessLevel MASTER
public static final AccessLevel MAINTAINER
public static final AccessLevel OWNER
public static final AccessLevel ADMIN
public static AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AccessLevel forValue(java.lang.Integer value)
public java.lang.Integer toValue()
public java.lang.String toString()
toString
in class java.lang.Enum<AccessLevel>