public enum StateSource extends Enum<StateSource>
Enum Constant and Description |
---|
SELF
If the state comes from the object itself.
|
STATE_OBJECT
If the state comes from a state object.
|
Modifier and Type | Method and Description |
---|---|
static StateSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateSource STATE_OBJECT
public static final StateSource SELF
public static StateSource[] values()
for (StateSource c : StateSource.values()) System.out.println(c);
public static StateSource 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 CorfuDB. All rights reserved.