net.grinder.common.processidentity
Enum ProcessReport.State

java.lang.Object
  extended by java.lang.Enum<ProcessReport.State>
      extended by net.grinder.common.processidentity.ProcessReport.State
All Implemented Interfaces:
Serializable, Comparable<ProcessReport.State>
Enclosing interface:
ProcessReport

public static enum ProcessReport.State
extends Enum<ProcessReport.State>

Process state.


Enum Constant Summary
FINISHED
          Process is finished.
RUNNING
          Process is running.
STARTED
          Process is started.
UNKNOWN
          Process status is unknown.
 
Method Summary
static ProcessReport.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProcessReport.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STARTED

public static final ProcessReport.State STARTED
Process is started.


RUNNING

public static final ProcessReport.State RUNNING
Process is running.


FINISHED

public static final ProcessReport.State FINISHED
Process is finished.


UNKNOWN

public static final ProcessReport.State UNKNOWN
Process status is unknown.

Method Detail

values

public static ProcessReport.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 (ProcessReport.State c : ProcessReport.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 ProcessReport.State valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2000-2013. All Rights Reserved.