public static enum WatchDog.ServiceState extends Enum<WatchDog.ServiceState>
| Enum Constant and Description |
|---|
CONSTRUCTED |
FAILED |
FINISHED |
INITIALIZING |
INTERRUPTED |
RUNNING |
TERMINATING |
UNKNWON |
| Modifier and Type | Method and Description |
|---|---|
static WatchDog.ServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchDog.ServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchDog.ServiceState UNKNWON
public static final WatchDog.ServiceState CONSTRUCTED
public static final WatchDog.ServiceState INITIALIZING
public static final WatchDog.ServiceState RUNNING
public static final WatchDog.ServiceState TERMINATING
public static final WatchDog.ServiceState FINISHED
public static final WatchDog.ServiceState FAILED
public static final WatchDog.ServiceState INTERRUPTED
public static WatchDog.ServiceState[] values()
for (WatchDog.ServiceState c : WatchDog.ServiceState.values()) System.out.println(c);
public static WatchDog.ServiceState 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 © 2015–2017 openbase.org. All rights reserved.