public enum ApiActivityStatus extends Enum<ApiActivityStatus>
Enum Constant and Description |
---|
ASSUMED_SUCCEEDED
This activity was assumed to finish successfully.
|
FAILED
This activity has failed
|
KILLED
This activity has been killed
|
STARTED
This activity is currently running
|
SUBMITTED
This activity has been submitted but not started
|
SUCCEEDED
This activity succeeded.
|
SUSPENDED
This activity was started but is currently suspended
|
UNKNOWN
The status of this activity is not known
|
Modifier and Type | Method and Description |
---|---|
static ApiActivityStatus |
fromString(String s) |
static ApiActivityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiActivityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiActivityStatus UNKNOWN
public static final ApiActivityStatus SUBMITTED
public static final ApiActivityStatus STARTED
public static final ApiActivityStatus SUSPENDED
public static final ApiActivityStatus FAILED
public static final ApiActivityStatus KILLED
public static final ApiActivityStatus SUCCEEDED
public static final ApiActivityStatus ASSUMED_SUCCEEDED
public static ApiActivityStatus[] values()
for (ApiActivityStatus c : ApiActivityStatus.values()) System.out.println(c);
public static ApiActivityStatus 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 ApiActivityStatus fromString(String s)
s
- String representation of a status.
Note that UNKNOWN is not a valid input.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.