net.grinder.console.model
Enum SampleModel.State.Value

java.lang.Object
  extended by java.lang.Enum<SampleModel.State.Value>
      extended by net.grinder.console.model.SampleModel.State.Value
All Implemented Interfaces:
Serializable, Comparable<SampleModel.State.Value>
Enclosing interface:
SampleModel.State

public static enum SampleModel.State.Value
extends Enum<SampleModel.State.Value>

The primary state.


Enum Constant Summary
IgnoringInitialSamples
          Waiting until the configured number of samples have been ignored.
Recording
          Capturing samples.
Stopped
          Stopped - all test reports are ignored.
WaitingForFirstReport
          Waiting for the first test report to start the sampling.
 
Method Summary
static SampleModel.State.Value valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SampleModel.State.Value[] 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

Stopped

public static final SampleModel.State.Value Stopped
Stopped - all test reports are ignored.


WaitingForFirstReport

public static final SampleModel.State.Value WaitingForFirstReport
Waiting for the first test report to start the sampling.


IgnoringInitialSamples

public static final SampleModel.State.Value IgnoringInitialSamples
Waiting until the configured number of samples have been ignored.


Recording

public static final SampleModel.State.Value Recording
Capturing samples.

Method Detail

values

public static SampleModel.State.Value[] 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 (SampleModel.State.Value c : SampleModel.State.Value.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SampleModel.State.Value 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.