|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ApiActivityType> com.cloudera.api.model.ApiActivityType
public enum ApiActivityType
Enum Constant Summary | |
---|---|
HIVE
The corresponding activity a Hive job |
|
MR
The corresponding activity is a Map-Reduce job |
|
OOZIE
The corresponding activity is an Oozie workflow |
|
PIG
The corresponding activity is a Pig job |
|
STREAMING
The corresponding activity is a Hadoop streaming job |
|
UNKNOWN
The activity type is unknown |
Method Summary | |
---|---|
static ApiActivityType |
fromString(String str)
|
static ApiActivityType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApiActivityType[] |
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 |
---|
public static final ApiActivityType UNKNOWN
public static final ApiActivityType OOZIE
public static final ApiActivityType PIG
public static final ApiActivityType HIVE
public static final ApiActivityType MR
public static final ApiActivityType STREAMING
Method Detail |
---|
public static ApiActivityType[] values()
for (ApiActivityType c : ApiActivityType.values()) System.out.println(c);
public static ApiActivityType 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 ApiActivityType fromString(String str)
str
- String representation of an activity type.
Note that UNKNOWN is not a valid input.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |