public static enum LeaderElectionActuator.Action extends java.lang.Enum<LeaderElectionActuator.Action>
Enum Constant and Description |
---|
RESTART
Stop then start the leader election service.
|
START
Start the leader election service.
|
STOP
Stop the leader election service.
|
TEST
NOOP action for the purpose of testing unknown actions.
|
Modifier and Type | Method and Description |
---|---|
static LeaderElectionActuator.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LeaderElectionActuator.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeaderElectionActuator.Action STOP
public static final LeaderElectionActuator.Action START
public static final LeaderElectionActuator.Action RESTART
public static final LeaderElectionActuator.Action TEST
public static LeaderElectionActuator.Action[] values()
for (LeaderElectionActuator.Action c : LeaderElectionActuator.Action.values()) System.out.println(c);
public static LeaderElectionActuator.Action 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