Package net.osslabz.lnd.dto
Enum Class LnrpcResolutionType
- All Implemented Interfaces:
Serializable,Comparable<LnrpcResolutionType>,Constable
- ANCHOR: We resolved an anchor output. - INCOMING_HTLC: We are resolving an incoming htlc on chain. This if this htlc is claimed, we swept the incoming htlc with the preimage. If it is timed out, our peer swept the timeout path. - OUTGOING_HTLC: We are resolving an outgoing htlc on chain. If this htlc is claimed, the remote party swept the htlc with the preimage. If it is timed out, we swept it with the timeout path. - COMMIT: We force closed and need to sweep our time locked commitment output.
-
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 LnrpcResolutionTypegetValue()toString()static LnrpcResolutionTypeReturns the enum constant of this class with the specified name.static LnrpcResolutionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNKNOWN
-
ANCHOR
-
INCOMING_HTLC
-
OUTGOING_HTLC
-
COMMIT
-
-
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<LnrpcResolutionType>
-
fromValue
-