public static enum BrokerAdditionV2StateMachine.BrokerAdditionV2Event extends Enum<BrokerAdditionV2StateMachine.BrokerAdditionV2Event> implements BalancerOperationEvent
Modifier and Type | Method and Description |
---|---|
static BrokerAdditionV2StateMachine.BrokerAdditionV2Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerAdditionV2StateMachine.BrokerAdditionV2Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerAdditionV2StateMachine.BrokerAdditionV2Event CANCELED
public static final BrokerAdditionV2StateMachine.BrokerAdditionV2Event SUCCESS
public static BrokerAdditionV2StateMachine.BrokerAdditionV2Event[] values()
for (BrokerAdditionV2StateMachine.BrokerAdditionV2Event c : BrokerAdditionV2StateMachine.BrokerAdditionV2Event.values()) System.out.println(c);
public static BrokerAdditionV2StateMachine.BrokerAdditionV2Event 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 null