Package net.osslabz.lnd.dto
Enum Class InvoicesrpcLookupModifier
- All Implemented Interfaces:
Serializable,Comparable<InvoicesrpcLookupModifier>,Constable
- DEFAULT: The default look up modifier, no look up behavior is changed. - HTLC_SET_ONLY: Indicates that when a look up is done based on a set_id, then only that set of HTLCs related to that set ID should be returned. - HTLC_SET_BLANK: Indicates that when a look up is done using a payment_addr, then no HTLCs related to the payment_addr should be returned. This is useful when one wants to be able to obtain the set of associated setIDs with a given invoice, then look up the sub-invoices \"projected\" by that set ID.
-
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 InvoicesrpcLookupModifiergetValue()toString()static InvoicesrpcLookupModifierReturns the enum constant of this class with the specified name.static InvoicesrpcLookupModifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
-
HTLC_SET_ONLY
-
HTLC_SET_BLANK
-
-
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<InvoicesrpcLookupModifier>
-
fromValue
-