public enum ClusterHealthStatus extends Enum<ClusterHealthStatus>
Modifier and Type | Method and Description |
---|---|
static ClusterHealthStatus |
fromString(String status) |
static ClusterHealthStatus |
fromValue(byte value) |
byte |
value() |
static ClusterHealthStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterHealthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterHealthStatus GREEN
public static final ClusterHealthStatus YELLOW
public static final ClusterHealthStatus RED
public static ClusterHealthStatus[] values()
for (ClusterHealthStatus c : ClusterHealthStatus.values()) System.out.println(c);
public static ClusterHealthStatus 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 byte value()
public static ClusterHealthStatus fromValue(byte value)
public static ClusterHealthStatus fromString(String status)
Copyright © 2009–2016. All rights reserved.