- All Implemented Interfaces:
Serializable
,Comparable<NodeDnsStatus>
Each node has a specific status as a result of its configuration
and DNS responses.
- Author:
- AO Industries, Inc.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the CSS style to use for this status or "" for no specific style requirement.getName()
JavaBeans compatibility.Gets the resource status that this node DNS status will cause.toString()
static NodeDnsStatus
Returns the enum constant of this type with the specified name.static NodeDnsStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
DISABLED
-
STOPPED
-
STARTING
-
SLAVE
-
MASTER
-
INCONSISTENT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<NodeDnsStatus>
-
getResourceStatus
Gets the resource status that this node DNS status will cause. -
getName
JavaBeans compatibility. -
getCssStyle
Gets the CSS style to use for this status or "" for no specific style requirement.
-