public static enum Status.StatusCode extends Enum<Status.StatusCode>
Status
.Enum Constant and Description |
---|
ABORTED
Job stopped because of user abort request.
|
DONE
Job has successfully completed.
|
ERROR
Job stopped because of error.
|
RUNNING
Job is running.
|
Modifier and Type | Method and Description |
---|---|
static Status.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.StatusCode RUNNING
public static final Status.StatusCode DONE
public static final Status.StatusCode ERROR
public static final Status.StatusCode ABORTED
public static Status.StatusCode[] values()
for (Status.StatusCode c : Status.StatusCode.values()) System.out.println(c);
public static Status.StatusCode 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 © 2015 Google. All rights reserved.