gate.qa
Enum Measure

java.lang.Object
  extended by java.lang.Enum<Measure>
      extended by gate.qa.Measure
All Implemented Interfaces:
Serializable, Comparable<Measure>

public enum Measure
extends Enum<Measure>

ENUM for different measure types. User can select one of these as a parameter for the PRs such as QualityAssurance PR and QA for Teamware PR.

Author:
niraj

Enum Constant Summary
F05_AVERAGE
           
F05_LENIENT
           
F05_STRICT
           
F1_AVERAGE
           
F1_LENIENT
           
F1_STRICT
           
 
Method Summary
static Measure valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Measure[] 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

F1_STRICT

public static final Measure F1_STRICT

F1_AVERAGE

public static final Measure F1_AVERAGE

F1_LENIENT

public static final Measure F1_LENIENT

F05_STRICT

public static final Measure F05_STRICT

F05_AVERAGE

public static final Measure F05_AVERAGE

F05_LENIENT

public static final Measure F05_LENIENT
Method Detail

values

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

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

valueOf

public static Measure 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