public enum ModuleStatus extends java.lang.Enum<ModuleStatus>
Enum Constant and Description |
---|
FAILED |
STARTED |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
WAITING |
Modifier and Type | Method and Description |
---|---|
static ModuleStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleStatus STARTING
public static final ModuleStatus STARTED
public static final ModuleStatus FAILED
public static final ModuleStatus WAITING
public static final ModuleStatus STOPPING
public static final ModuleStatus STOPPED
public static final ModuleStatus UNKNOWN
public static ModuleStatus[] values()
for (ModuleStatus c : ModuleStatus.values()) System.out.println(c);
public static ModuleStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2011-2014 Red Hat. All Rights Reserved.