public static enum UserIdentifier.Type extends java.lang.Enum<UserIdentifier.Type>
Enum Constant and Description |
---|
ANONYMOUS
Not logged in user.
|
PRODUCER
Same as producer user
|
ROLE
User with certain role.
|
USER
Existing user.
|
WITH_PRODUCER_ROLE
New user with the same role as the producer used
|
Modifier and Type | Method and Description |
---|---|
static UserIdentifier.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserIdentifier.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserIdentifier.Type PRODUCER
public static final UserIdentifier.Type WITH_PRODUCER_ROLE
public static final UserIdentifier.Type ROLE
public static final UserIdentifier.Type USER
public static final UserIdentifier.Type ANONYMOUS
public static UserIdentifier.Type[] values()
for (UserIdentifier.Type c : UserIdentifier.Type.values()) System.out.println(c);
public static UserIdentifier.Type 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