Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## 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.

Enum Constant Summary
`DEAD` Process is terminated (core file).
`LOST` Process is lost to control.
`RUN` Process is running.
`STOP` Process is stopped.
`UNDEAD` Process is terminated (zombie).

Method Summary
`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're declared.

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

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 final ProcessState.State[] values()

  Returns an array containing the constants of this enum type, in the order they're 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're 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 name

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD