public enum ConsumerPossibleStates extends Enum<ConsumerPossibleStates>
| Enum Constant and Description |
|---|
Idle |
Paused |
Ready |
Seeking |
Stopping |
| Modifier and Type | Method and Description |
|---|---|
static ConsumerPossibleStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerPossibleStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerPossibleStates Idle
public static final ConsumerPossibleStates Ready
public static final ConsumerPossibleStates Stopping
public static final ConsumerPossibleStates Paused
public static final ConsumerPossibleStates Seeking
public static ConsumerPossibleStates[] values()
for (ConsumerPossibleStates c : ConsumerPossibleStates.values()) System.out.println(c);
public static ConsumerPossibleStates 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 nullCopyright © 2019-2021, TurtleQueue All Rights Reserved. Use is subject to license terms.