public static enum VoteServer.TestUseMode extends Enum<VoteServer.TestUseMode>
Enum Constant and Description |
---|
FULL
A mode in which test users are allowed and their input is handled exactly as
for authenticated users, except it is subject to arbitrary deletion by the
administrator.
|
OFF
A mode in which test users are disallowed.
|
Modifier and Type | Method and Description |
---|---|
static VoteServer.TestUseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VoteServer.TestUseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoteServer.TestUseMode OFF
public static final VoteServer.TestUseMode FULL
public static VoteServer.TestUseMode[] values()
for (VoteServer.TestUseMode c : VoteServer.TestUseMode.values()) System.out.println(c);
public static VoteServer.TestUseMode 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