public static enum Task.Disposition extends Enum<Task.Disposition>
Enum Constant and Description |
---|
CANCELLED |
COMPLETED |
LAUNCH_FAILED |
RETRIED |
RUN_FAILED |
TOO_MANY_RETRIES |
Modifier and Type | Method and Description |
---|---|
static Task.Disposition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.Disposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Disposition CANCELLED
public static final Task.Disposition LAUNCH_FAILED
public static final Task.Disposition RUN_FAILED
public static final Task.Disposition COMPLETED
public static final Task.Disposition TOO_MANY_RETRIES
public static final Task.Disposition RETRIED
public static Task.Disposition[] values()
for (Task.Disposition c : Task.Disposition.values()) System.out.println(c);
public static Task.Disposition 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 © 1970 The Apache Software Foundation. All rights reserved.