public static enum AsyncJob.Status extends Enum<AsyncJob.Status>
Enum Constant and Description |
---|
FAILED |
IN_PROGRESS |
SUCCEEDED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
code() |
static AsyncJob.Status |
fromValue(String value) |
static AsyncJob.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncJob.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncJob.Status IN_PROGRESS
public static final AsyncJob.Status SUCCEEDED
public static final AsyncJob.Status FAILED
public static final AsyncJob.Status UNKNOWN
public static AsyncJob.Status[] values()
for (AsyncJob.Status c : AsyncJob.Status.values()) System.out.println(c);
public static AsyncJob.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 int code()
public static AsyncJob.Status fromValue(String value)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.