Package jrpc.clightning.commands
Enum Command
- java.lang.Object
-
- java.lang.Enum<Command>
-
- jrpc.clightning.commands.Command
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Command>
,ICommandKey
public enum Command extends java.lang.Enum<Command> implements ICommandKey
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommandKey()
static Command
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Command[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final Command NULL
-
HELP
public static final Command HELP
-
FEERATES
public static final Command FEERATES
-
FUNDPSBT
public static final Command FUNDPSBT
-
RESERVEINPUTS
public static final Command RESERVEINPUTS
-
SENDPSBT
public static final Command SENDPSBT
-
SIGNPSBT
public static final Command SIGNPSBT
-
UNRESERVEINPUTS
public static final Command UNRESERVEINPUTS
-
NEWADDR
public static final Command NEWADDR
-
TXDISCARD
public static final Command TXDISCARD
-
TXPREPARE
public static final Command TXPREPARE
-
TXSEND
public static final Command TXSEND
-
WITHDRAW
public static final Command WITHDRAW
-
CLOSE
public static final Command CLOSE
-
FUNDCHANNEL
public static final Command FUNDCHANNEL
-
FUNDCHANNEL_CANCEL
public static final Command FUNDCHANNEL_CANCEL
-
FUNDCHANNEL_COMPLETE
public static final Command FUNDCHANNEL_COMPLETE
-
FUNDCHANNEL_START
public static final Command FUNDCHANNEL_START
-
GETROUTE
public static final Command GETROUTE
-
LISTCHANNELS
public static final Command LISTCHANNELS
-
LISTFORWARDS
public static final Command LISTFORWARDS
-
SETCHANNELFEE
public static final Command SETCHANNELFEE
-
CONNECT
public static final Command CONNECT
-
DISCONNECT
public static final Command DISCONNECT
-
LISTNODES
public static final Command LISTNODES
-
LISTPEERS
public static final Command LISTPEERS
-
PING
public static final Command PING
-
DECODEPAY
public static final Command DECODEPAY
-
DELEXPIREDINVOICE
public static final Command DELEXPIREDINVOICE
-
DELINVOICE
public static final Command DELINVOICE
-
INVOICE
public static final Command INVOICE
-
LISTINVOICE
public static final Command LISTINVOICE
-
LISTPAYS
public static final Command LISTPAYS
-
LISTSENDPAYS
public static final Command LISTSENDPAYS
-
PAY
public static final Command PAY
-
WAITINVOICE
public static final Command WAITINVOICE
-
WAITSENDPAY
public static final Command WAITSENDPAY
-
LISTTRANSACTIONS
public static final Command LISTTRANSACTIONS
-
GETINFO
public static final Command GETINFO
-
GETLOG
public static final Command GETLOG
-
LISTCONFIGS
public static final Command LISTCONFIGS
-
LISTFOUNDS
public static final Command LISTFOUNDS
-
STOP
public static final Command STOP
-
DEV_LISTADDRS
public static final Command DEV_LISTADDRS
-
DEV_RESCAN_OUTPUTS
public static final Command DEV_RESCAN_OUTPUTS
-
AUTOCLEANINVOICE
public static final Command AUTOCLEANINVOICE
-
-
Method Detail
-
values
public static Command[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Command c : Command.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Command valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCommandKey
public java.lang.String getCommandKey()
- Specified by:
getCommandKey
in interfaceICommandKey
-
-