public static enum PaymentChannelServerState.State extends Enum<PaymentChannelServerState.State>
Enum Constant and Description |
---|
CLOSED |
CLOSING |
ERROR |
READY |
WAITING_FOR_MULTISIG_ACCEPTANCE |
WAITING_FOR_MULTISIG_CONTRACT |
WAITING_FOR_REFUND_TRANSACTION |
Modifier and Type | Method and Description |
---|---|
static PaymentChannelServerState.State |
valueOf(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 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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All rights reserved.