public static enum OSProcess.State extends Enum<OSProcess.State>
Enum Constant and Description |
---|
NEW
Intermediate state in process creation
|
OTHER
Other or unknown states not defined
|
RUNNING
Actively executing process
|
SLEEPING
Interruptible sleep state
|
STOPPED
Stopped by the user, such as for debugging
|
WAITING
Blocked, uninterruptible sleep state
|
ZOMBIE
Intermediate state in process termination
|
Modifier and Type | Method and Description |
---|---|
static OSProcess.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OSProcess.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSProcess.State NEW
public static final OSProcess.State RUNNING
public static final OSProcess.State SLEEPING
public static final OSProcess.State WAITING
public static final OSProcess.State ZOMBIE
public static final OSProcess.State STOPPED
public static final OSProcess.State OTHER
public static OSProcess.State[] values()
for (OSProcess.State c : OSProcess.State.values()) System.out.println(c);
public static OSProcess.State 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 © 2010–2019 oshi. All rights reserved.