public static enum JobManager.QueryType extends Enum<JobManager.QueryType>
Enum Constant and Description |
---|
ACTIVE |
ALL |
CANCELLED |
DROPPED |
ERROR |
GIVEN_UP |
HISTORY |
QUEUED |
STOPPED |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static JobManager.QueryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobManager.QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobManager.QueryType ALL
public static final JobManager.QueryType ACTIVE
public static final JobManager.QueryType QUEUED
public static final JobManager.QueryType HISTORY
public static final JobManager.QueryType CANCELLED
public static final JobManager.QueryType SUCCEEDED
public static final JobManager.QueryType STOPPED
public static final JobManager.QueryType GIVEN_UP
public static final JobManager.QueryType ERROR
public static final JobManager.QueryType DROPPED
public static JobManager.QueryType[] values()
for (JobManager.QueryType c : JobManager.QueryType.values()) System.out.println(c);
public static JobManager.QueryType 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 nullCopyright © 2017 The Apache Software Foundation. All rights reserved.