Package net.osslabz.lnd.dto
Enum Class LnrpcResolutionOutcome
- All Implemented Interfaces:
Serializable,Comparable<LnrpcResolutionOutcome>,Constable
- OUTCOME_UNKNOWN: Outcome unknown. - CLAIMED: An output was claimed on chain. - UNCLAIMED: An output was left unclaimed on chain. - ABANDONED: ResolverOutcomeAbandoned indicates that an output that we did not claim on chain, for example an anchor that we did not sweep and a third party claimed on chain, or a htlc that we could not decode so left unclaimed. - FIRST_STAGE: If we force closed our channel, our htlcs need to be claimed in two stages. This outcome represents the broadcast of a timeout or success transaction for this two stage htlc claim. - TIMEOUT: A htlc was timed out on chain.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LnrpcResolutionOutcomegetValue()toString()static LnrpcResolutionOutcomeReturns the enum constant of this class with the specified name.static LnrpcResolutionOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OUTCOME_UNKNOWN
-
CLAIMED
-
UNCLAIMED
-
ABANDONED
-
FIRST_STAGE
-
TIMEOUT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<LnrpcResolutionOutcome>
-
fromValue
-