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