public enum ApiActivityType extends Enum<ApiActivityType>
Modifier and Type | Class and Description |
---|---|
static class |
ApiActivityType.Adapter |
Enum Constant and Description |
---|
HIVE |
MR |
OOZIE |
PIG |
STREAMING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ApiActivityType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<ApiActivityType>
public static ApiActivityType fromValue(String text)
Copyright © 2019. All rights reserved.