public static enum RoleContainer.RoleMode extends java.lang.Enum<RoleContainer.RoleMode>
Enum Constant and Description |
---|
ANONYMOUS |
EXISTING_USER |
NEW_WITH_PRODUCER_ROLE |
PRODUCER_USER |
SET_USER_ROLE |
Modifier and Type | Method and Description |
---|---|
static RoleContainer.RoleMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoleContainer.RoleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleContainer.RoleMode PRODUCER_USER
public static final RoleContainer.RoleMode NEW_WITH_PRODUCER_ROLE
public static final RoleContainer.RoleMode SET_USER_ROLE
public static final RoleContainer.RoleMode EXISTING_USER
public static final RoleContainer.RoleMode ANONYMOUS
public static RoleContainer.RoleMode[] values()
for (RoleContainer.RoleMode c : RoleContainer.RoleMode.values()) System.out.println(c);
public static RoleContainer.RoleMode 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 null