public static enum HAServiceProtocol.HAServiceState extends Enum<HAServiceProtocol.HAServiceState>
| Enum Constant and Description | 
|---|
ACTIVE  | 
INITIALIZING  | 
STANDBY  | 
STOPPING  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
toString()  | 
static HAServiceProtocol.HAServiceState | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static HAServiceProtocol.HAServiceState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final HAServiceProtocol.HAServiceState INITIALIZING
public static final HAServiceProtocol.HAServiceState ACTIVE
public static final HAServiceProtocol.HAServiceState STANDBY
public static final HAServiceProtocol.HAServiceState STOPPING
public static HAServiceProtocol.HAServiceState[] values()
for (HAServiceProtocol.HAServiceState c : HAServiceProtocol.HAServiceState.values()) System.out.println(c);
public static HAServiceProtocol.HAServiceState 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 nullpublic String toString()
toString in class Enum<HAServiceProtocol.HAServiceState>Copyright © 2018 Apache Software Foundation. All Rights Reserved.