public static enum Job.Status extends Enum<Job.Status>
Enum Constant and Description |
---|
COMPLETED |
ERROR |
INITIALIZED
INITIALIZED is the status that immediately precedes RUNNING and is the first possible state of a job.
|
RUNNING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Job.Status |
fromValue(String status) |
static Job.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Job.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.Status INITIALIZED
public static final Job.Status RUNNING
public static final Job.Status COMPLETED
public static final Job.Status ERROR
public static final Job.Status UNRECOGNIZED
public static Job.Status[] values()
for (Job.Status c : Job.Status.values()) System.out.println(c);
public static Job.Status 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 Job.Status fromValue(String status)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.