public static enum PaymentChannelServerState.State extends java.lang.Enum<PaymentChannelServerState.State>
Enum Constant and Description |
---|
CLOSED |
CLOSING |
ERROR |
READY |
UNINITIALISED |
WAITING_FOR_MULTISIG_ACCEPTANCE |
WAITING_FOR_MULTISIG_CONTRACT |
WAITING_FOR_REFUND_TRANSACTION |
Modifier and Type | Method and Description |
---|---|
static PaymentChannelServerState.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentChannelServerState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentChannelServerState.State UNINITIALISED
public static final PaymentChannelServerState.State WAITING_FOR_REFUND_TRANSACTION
public static final PaymentChannelServerState.State WAITING_FOR_MULTISIG_CONTRACT
public static final PaymentChannelServerState.State WAITING_FOR_MULTISIG_ACCEPTANCE
public static final PaymentChannelServerState.State READY
public static final PaymentChannelServerState.State CLOSING
public static final PaymentChannelServerState.State CLOSED
public static final PaymentChannelServerState.State ERROR
public static PaymentChannelServerState.State[] values()
for (PaymentChannelServerState.State c : PaymentChannelServerState.State.values()) System.out.println(c);
public static PaymentChannelServerState.State 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 null