public static enum PackageTask.State extends java.lang.Enum<PackageTask.State>
Enum Constant and Description |
---|
COMPLETED
Task has completed
|
ERROR
Task has errors
|
NEW
task is new
|
RUNNING
Task is running
|
Modifier and Type | Method and Description |
---|---|
static PackageTask.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PackageTask.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageTask.State NEW
public static final PackageTask.State RUNNING
public static final PackageTask.State COMPLETED
public static final PackageTask.State ERROR
public static PackageTask.State[] values()
for (PackageTask.State c : PackageTask.State.values()) System.out.println(c);
public static PackageTask.State 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 - 2020 Adobe. All Rights Reserved