public enum SiteAvailabilityState extends Enum<SiteAvailabilityState>
Enum Constant and Description |
---|
DISASTER_RECOVERY_MODE
Enum value DisasterRecoveryMode.
|
LIMITED
Enum value Limited.
|
NORMAL
Enum value Normal.
|
Modifier and Type | Method and Description |
---|---|
static SiteAvailabilityState |
fromString(String value)
Parses a serialized value to a SiteAvailabilityState instance.
|
String |
toString() |
static SiteAvailabilityState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SiteAvailabilityState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiteAvailabilityState NORMAL
public static final SiteAvailabilityState LIMITED
public static final SiteAvailabilityState DISASTER_RECOVERY_MODE
public static SiteAvailabilityState[] values()
for (SiteAvailabilityState c : SiteAvailabilityState.values()) System.out.println(c);
public static SiteAvailabilityState 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 SiteAvailabilityState fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<SiteAvailabilityState>
Copyright © 2019. All rights reserved.