|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ApiClusterVersion>
com.cloudera.api.model.ApiClusterVersion
public enum ApiClusterVersion
The CDH version of the cluster.
Enum Constant Summary | |
---|---|
CDH3
Deprecated. |
|
CDH3u4X
Deprecated. |
|
CDH4
CDH4 version |
|
CDH5
CDH5 version |
|
CDH6
CDH6 version |
|
UNKNOWN
Unknown version. |
Method Summary | |
---|---|
static ApiClusterVersion |
fromString(String version)
|
static ApiClusterVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApiClusterVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
@Deprecated public static final ApiClusterVersion CDH3
@Deprecated public static final ApiClusterVersion CDH3u4X
public static final ApiClusterVersion CDH4
public static final ApiClusterVersion CDH5
public static final ApiClusterVersion CDH6
public static final ApiClusterVersion UNKNOWN
Method Detail |
---|
public static ApiClusterVersion[] values()
for (ApiClusterVersion c : ApiClusterVersion.values()) System.out.println(c);
public static ApiClusterVersion valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ApiClusterVersion fromString(String version)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |