public enum PollResultBase extends Enum<PollResultBase>
PollEmptyResult
for
an example.Enum Constant and Description |
---|
IN_PROGRESS
The asynchronous job is still in progress.
|
Modifier and Type | Method and Description |
---|---|
static PollResultBase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollResultBase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollResultBase IN_PROGRESS
public static PollResultBase[] values()
for (PollResultBase c : PollResultBase.values()) System.out.println(c);
public static PollResultBase 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