public static enum BoxUser.Role extends Enum<BoxUser.Role>
Enum Constant and Description |
---|
ADMIN
The user is an administrator of their enterprise.
|
COADMIN
The user is a co-administrator of their enterprise.
|
USER
The user is a regular user within their enterprise.
|
Modifier and Type | Method and Description |
---|---|
static BoxUser.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxUser.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxUser.Role ADMIN
public static final BoxUser.Role COADMIN
public static final BoxUser.Role USER
public static BoxUser.Role[] values()
for (BoxUser.Role c : BoxUser.Role.values()) System.out.println(c);
public static BoxUser.Role 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 null