public enum ApiClusterVersion extends Enum<ApiClusterVersion>
Enum Constant and Description |
---|
CDH3
CDH3 version
|
CDH3u4X
CDH3u4x version
|
CDH4
CDH4 version
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ApiClusterVersion CDH3
public static final ApiClusterVersion CDH3u4X
public static final ApiClusterVersion CDH4
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 nameNullPointerException
- if the argument is nullCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.