@Portable public enum RuntimeStatus extends Enum<RuntimeStatus>
Enum Constant and Description |
---|
ERROR |
LOADING |
READY |
RUNNING |
STOPPED |
UNKNOWN |
WARN |
Modifier and Type | Method and Description |
---|---|
static RuntimeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeStatus LOADING
public static final RuntimeStatus READY
public static final RuntimeStatus RUNNING
public static final RuntimeStatus STOPPED
public static final RuntimeStatus ERROR
public static final RuntimeStatus WARN
public static final RuntimeStatus UNKNOWN
public static RuntimeStatus[] values()
for (RuntimeStatus c : RuntimeStatus.values()) System.out.println(c);
public static RuntimeStatus 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 © 2001–2020 JBoss by Red Hat. All rights reserved.