Enum Constant and Description |
---|
CONSUMER
Consumer is the user who uses the system under test.
|
PRODUCER
Producer creates content and is logged in by default at
the beginning of a test method
|
Modifier and Type | Method and Description |
---|---|
static LoginRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginRole PRODUCER
public static final LoginRole CONSUMER
public static LoginRole[] values()
for (LoginRole c : LoginRole.values()) System.out.println(c);
public static LoginRole 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