public static enum SystemServiceInfo.States extends Enum<SystemServiceInfo.States>
Enum Constant and Description |
---|
running |
stopped |
undeployed |
Modifier and Type | Method and Description |
---|---|
static SystemServiceInfo.States |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemServiceInfo.States[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemServiceInfo.States undeployed
public static final SystemServiceInfo.States stopped
public static final SystemServiceInfo.States running
public static SystemServiceInfo.States[] values()
for (SystemServiceInfo.States c : SystemServiceInfo.States.values()) System.out.println(c);
public static SystemServiceInfo.States 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 © 2016. All Rights Reserved.