gate.qa
Enum Measure
java.lang.Object
java.lang.Enum<Measure>
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
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. |
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
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