public enum Initiator extends java.lang.Enum<Initiator>
LightningApi.Initiator
Enum Constant and Description |
---|
INITIATOR_BOTH |
INITIATOR_LOCAL |
INITIATOR_REMOTE |
INITIATOR_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
LightningApi.Initiator |
getApiObject() |
static Initiator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Initiator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Initiator |
wrap(LightningApi.Initiator apiObject) |
public static final Initiator INITIATOR_UNKNOWN
public static final Initiator INITIATOR_LOCAL
public static final Initiator INITIATOR_REMOTE
public static final Initiator INITIATOR_BOTH
public static Initiator[] values()
for (Initiator c : Initiator.values()) System.out.println(c);
public static Initiator 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 nullpublic LightningApi.Initiator getApiObject()
public static Initiator wrap(LightningApi.Initiator apiObject)