public static enum Shutdown.Status extends Enum<Shutdown.Status>
| Enum Constant and Description |
|---|
ERROR
A fatal error has forced the shell to shut down.
|
NORMAL
The shell is shutting down normally.
|
| Modifier and Type | Method and Description |
|---|---|
static Shutdown.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Shutdown.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shutdown.Status NORMAL
public static final Shutdown.Status ERROR
public static Shutdown.Status[] values()
for (Shutdown.Status c : Shutdown.Status.values()) System.out.println(c);
public static Shutdown.Status 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 © 2013 JBoss by Red Hat. All Rights Reserved.