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