public static enum Job.Status extends Enum<Job.Status>
Enum Constant and Description |
---|
FAILURE |
SUCCESS |
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 SUCCESS
public static final Job.Status FAILURE
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.