org.apache.tez.dag.api.client
Enum StatusGetOpts
java.lang.Object
java.lang.Enum<StatusGetOpts>
org.apache.tez.dag.api.client.StatusGetOpts
- All Implemented Interfaces:
- Serializable, Comparable<StatusGetOpts>
public enum StatusGetOpts
- extends Enum<StatusGetOpts>
Status Get Options used when making calls like getDAGStatus and
getVertexStatus in DAGClient
|
Enum Constant Summary |
GET_COUNTERS
Retrieve Counters with Status |
|
Method Summary |
static StatusGetOpts |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StatusGetOpts[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
GET_COUNTERS
public static final StatusGetOpts GET_COUNTERS
- Retrieve Counters with Status
values
public static StatusGetOpts[] values()
- 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 (StatusGetOpts c : StatusGetOpts.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StatusGetOpts valueOf(String name)
- 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
Copyright © 2014 Apache Software Foundation. All rights reserved.