Serializable
, Comparable<AccessLevel>
public enum AccessLevel extends Enum<AccessLevel>
Enum Constant | Description |
---|---|
ADMIN |
|
DEVELOPER |
|
GUEST |
|
INVALID |
|
MAINTAINER |
|
MASTER |
Deprecated.
|
NONE |
|
OWNER |
|
REPORTER |
Modifier and Type | Method | Description |
---|---|---|
static AccessLevel |
forValue(Integer value) |
|
String |
toString() |
|
Integer |
toValue() |
|
static AccessLevel |
valueOf(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 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 final Integer value
public static AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel 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 nullpublic static AccessLevel forValue(Integer value)
public Integer toValue()
public String toString()
toString
in class Enum<AccessLevel>
Copyright © 2018. All rights reserved.