public static enum Status.State extends Enum<Status.State>
| Enum Constant and Description |
|---|
ERROR |
OFF |
PAUSED |
RUNNING |
STOPPED |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static Status.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.State UNDEFINED
public static final Status.State STOPPED
public static final Status.State PAUSED
public static final Status.State RUNNING
public static final Status.State ERROR
public static final Status.State OFF
public static Status.State[] values()
for (Status.State c : Status.State.values()) System.out.println(c);
public static Status.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 © 2023 LSST. All rights reserved.