com.cloudera.api.model
Enum ApiClusterVersion

java.lang.Object
  extended by java.lang.Enum<ApiClusterVersion>
      extended by com.cloudera.api.model.ApiClusterVersion
All Implemented Interfaces:
Serializable, Comparable<ApiClusterVersion>

Deprecated.

@Deprecated
public enum ApiClusterVersion
extends Enum<ApiClusterVersion>

The CDH version of the cluster.


Enum Constant Summary
CDH3
          Deprecated. 
CDH3u4X
          Deprecated. 
CDH4
          Deprecated. CDH4 version
CDH5
          Deprecated. CDH5 version
CDH6
          Deprecated. CDH6 version
UNKNOWN
          Deprecated. Unknown version.
 
Method Summary
static ApiClusterVersion fromString(String version)
          Deprecated.  
static ApiClusterVersion valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static ApiClusterVersion[] values()
          Deprecated. 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

CDH3

@Deprecated
public static final ApiClusterVersion CDH3
Deprecated. 
CDH3 version. CDH3 is not supported as of CM 5.0.


CDH3u4X

@Deprecated
public static final ApiClusterVersion CDH3u4X
Deprecated. 
CDH3u4x version. CDH3u4x is not supported as of CM 5.0.


CDH4

public static final ApiClusterVersion CDH4
Deprecated. 
CDH4 version


CDH5

public static final ApiClusterVersion CDH5
Deprecated. 
CDH5 version


CDH6

public static final ApiClusterVersion CDH6
Deprecated. 
CDH6 version


UNKNOWN

public static final ApiClusterVersion UNKNOWN
Deprecated. 
Unknown version.

Method Detail

values

public static ApiClusterVersion[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ApiClusterVersion c : ApiClusterVersion.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ApiClusterVersion valueOf(String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromString

public static ApiClusterVersion fromString(String version)
Deprecated. 


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.