public static enum Host.ClusterType extends Enum<Host.ClusterType>
Enum Constant and Description |
---|
CLOUD_MANAGED |
EXTERNAL_MANAGED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Host.ClusterType |
fromValue(String value) |
String |
toString() |
static Host.ClusterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Host.ClusterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Host.ClusterType CLOUD_MANAGED
public static final Host.ClusterType EXTERNAL_MANAGED
public static final Host.ClusterType UNKNOWN
public static Host.ClusterType[] values()
for (Host.ClusterType c : Host.ClusterType.values()) System.out.println(c);
public static Host.ClusterType 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 Host.ClusterType fromValue(String value)
public String toString()
toString
in class Enum<Host.ClusterType>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.