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