Enum AbstractConstraint.Metric
- java.lang.Object
-
- java.lang.Enum<AbstractConstraint.Metric>
-
- hudson.plugins.performance.constraints.AbstractConstraint.Metric
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractConstraint.Metric>
- Enclosing class:
- AbstractConstraint
public static enum AbstractConstraint.Metric extends Enum<AbstractConstraint.Metric>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSelected()
String
toString()
static AbstractConstraint.Metric
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractConstraint.Metric[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVERAGE
public static final AbstractConstraint.Metric AVERAGE
-
MEDIAN
public static final AbstractConstraint.Metric MEDIAN
-
LINE90
public static final AbstractConstraint.Metric LINE90
-
LINE95
public static final AbstractConstraint.Metric LINE95
-
MAXIMUM
public static final AbstractConstraint.Metric MAXIMUM
-
MINIMUM
public static final AbstractConstraint.Metric MINIMUM
-
ERRORPRC
public static final AbstractConstraint.Metric ERRORPRC
-
-
Method Detail
-
values
public static AbstractConstraint.Metric[] 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 (AbstractConstraint.Metric c : AbstractConstraint.Metric.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractConstraint.Metric 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<AbstractConstraint.Metric>
-
isSelected
public boolean isSelected()
-
-