public enum ReceiverState extends java.lang.Enum<ReceiverState>
Enum Constant and Description |
---|
ALL_SYNCS_RECEIVED |
INIT |
RECEIVING |
SYNCED |
Modifier and Type | Method and Description |
---|---|
static ReceiverState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiverState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceiverState INIT
public static final ReceiverState RECEIVING
public static final ReceiverState ALL_SYNCS_RECEIVED
public static final ReceiverState SYNCED
public static ReceiverState[] values()
for (ReceiverState c : ReceiverState.values()) System.out.println(c);
public static ReceiverState 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