public static enum Task.Status extends java.lang.Enum<Task.Status>
Enum Constant and Description |
---|
CANCELED
The task was canceled before completion.
|
COMPLETE
The task completed normally.
|
NOT_STARTED
The task is not yet started.
|
RUNNING
The task is running.
|
Modifier and Type | Method and Description |
---|---|
static Task.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Task.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Status NOT_STARTED
public static final Task.Status RUNNING
public static final Task.Status CANCELED
public static final Task.Status COMPLETE
public static Task.Status[] values()
for (Task.Status c : Task.Status.values()) System.out.println(c);
public static Task.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010-2019 Planetary Data System. All Rights Reserved.