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