public enum ApiClusterVersion extends Enum<ApiClusterVersion>
Enum Constant and Description |
---|
CDH3
Deprecated.
|
CDH3u4X
Deprecated.
|
CDH4
CDH4 version
|
CDH5
CDH5 version
|
UNKNOWN
Unknown version.
|
Modifier and Type | Method and Description |
---|---|
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.
|
@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 UNKNOWN
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 nullpublic static ApiClusterVersion fromString(String version)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.