Package org.opensolaris.os.dtrace
Enum ProcessState.State
- java.lang.Object
-
- java.lang.Enum<ProcessState.State>
-
- org.opensolaris.os.dtrace.ProcessState.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProcessState.State>
- Enclosing class:
- ProcessState
public static enum ProcessState.State extends java.lang.Enum<ProcessState.State>
State of a target process.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcessState.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProcessState.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUN
public static final ProcessState.State RUN
Process is running.
-
STOP
public static final ProcessState.State STOP
Process is stopped.
-
LOST
public static final ProcessState.State LOST
Process is lost to control.
-
UNDEAD
public static final ProcessState.State UNDEAD
Process is terminated (zombie).
-
DEAD
public static final ProcessState.State DEAD
Process is terminated (core file).
-
-
Method Detail
-
values
public static ProcessState.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProcessState.State c : ProcessState.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessState.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-