public static enum JobHandle.State extends Enum<JobHandle.State>
Enum Constant and Description |
---|
CANCELLED |
FAILED |
QUEUED |
SENT |
STARTED |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static JobHandle.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobHandle.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobHandle.State SENT
public static final JobHandle.State QUEUED
public static final JobHandle.State STARTED
public static final JobHandle.State CANCELLED
public static final JobHandle.State FAILED
public static final JobHandle.State SUCCEEDED
public static JobHandle.State[] values()
for (JobHandle.State c : JobHandle.State.values()) System.out.println(c);
public static JobHandle.State 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 © 2017 The Apache Software Foundation. All rights reserved.