public static enum BrokerRemovalStateMachine.BrokerRemovalEvent extends Enum<BrokerRemovalStateMachine.BrokerRemovalEvent> implements BalancerOperationEvent
Modifier and Type | Method and Description |
---|---|
static BrokerRemovalStateMachine.BrokerRemovalEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerRemovalStateMachine.BrokerRemovalEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerRemovalStateMachine.BrokerRemovalEvent INITIAL_PLAN_COMPUTATION_SUCCESS
public static final BrokerRemovalStateMachine.BrokerRemovalEvent INITIAL_PLAN_COMPUTATION_FAILURE
public static final BrokerRemovalStateMachine.BrokerRemovalEvent BROKER_SHUTDOWN_SUCCESS
public static final BrokerRemovalStateMachine.BrokerRemovalEvent BROKER_SHUTDOWN_FAILURE
public static final BrokerRemovalStateMachine.BrokerRemovalEvent PLAN_COMPUTATION_SUCCESS
public static final BrokerRemovalStateMachine.BrokerRemovalEvent PLAN_COMPUTATION_FAILURE
public static final BrokerRemovalStateMachine.BrokerRemovalEvent PLAN_EXECUTION_SUCCESS
public static final BrokerRemovalStateMachine.BrokerRemovalEvent PLAN_EXECUTION_FAILURE
public static final BrokerRemovalStateMachine.BrokerRemovalEvent BROKER_RESTARTED
public static BrokerRemovalStateMachine.BrokerRemovalEvent[] values()
for (BrokerRemovalStateMachine.BrokerRemovalEvent c : BrokerRemovalStateMachine.BrokerRemovalEvent.values()) System.out.println(c);
public static BrokerRemovalStateMachine.BrokerRemovalEvent 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