public enum StartupPolicyType extends Enum<StartupPolicyType>
GatewayHub| Modifier and Type | Field and Description |
|---|---|
static StartupPolicyType |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the official name used by GemFire to specify the GatewayHub Startup Policy.
|
static StartupPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartupPolicyType |
valueOfIgnoreCase(String name)
Returns a StartupPolicyType enumerated value matching the given official, case-insensitve "name"
for the GatewayHub Startup Policy used by GemFire.
|
static StartupPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartupPolicyType NONE
public static final StartupPolicyType PRIMARY
public static final StartupPolicyType SECONDARY
public static final StartupPolicyType DEFAULT
public static StartupPolicyType[] values()
for (StartupPolicyType c : StartupPolicyType.values()) System.out.println(c);
public static StartupPolicyType 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 static StartupPolicyType valueOfIgnoreCase(String name)
name - a String specifying the name used by GemFire for the GatewayHub Startup Policy.String.equalsIgnoreCase(String),
getName()public String getName()