public static enum Process.RunningState extends Enum<Process.RunningState>
Enum Constant and Description |
---|
ADMIN_ONLY |
NORMAL |
PRE_SUSPEND |
STARTING |
STOPPED |
STOPPING |
SUSPENDED |
SUSPENDING |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Process.RunningState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Process.RunningState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Process.RunningState STOPPED
public static final Process.RunningState STARTING
public static final Process.RunningState PRE_SUSPEND
public static final Process.RunningState NORMAL
public static final Process.RunningState ADMIN_ONLY
public static final Process.RunningState SUSPENDING
public static final Process.RunningState SUSPENDED
public static final Process.RunningState STOPPING
public static Process.RunningState[] values()
for (Process.RunningState c : Process.RunningState.values()) System.out.println(c);
public static Process.RunningState 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 nullpublic String toString()
toString
in class Enum<Process.RunningState>
Copyright © 2017 JBoss by Red Hat. All rights reserved.