public static enum MonitoredTask.State extends Enum<MonitoredTask.State>
Modifier and Type | Method and Description |
---|---|
static MonitoredTask.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitoredTask.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitoredTask.State RUNNING
public static final MonitoredTask.State WAITING
public static final MonitoredTask.State COMPLETE
public static final MonitoredTask.State ABORTED
public static MonitoredTask.State[] values()
for (MonitoredTask.State c : MonitoredTask.State.values()) System.out.println(c);
public static MonitoredTask.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 © 2007–2019 The Apache Software Foundation. All rights reserved.