Enum Threshold.ThresholdTypes
- java.lang.Object
-
- java.lang.Enum<Threshold.ThresholdTypes>
-
- org.jenkinsci.plugins.benchmark.thresholds.Threshold.ThresholdTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<Threshold.ThresholdTypes>
- Enclosing class:
- Threshold
public static enum Threshold.ThresholdTypes extends Enum<Threshold.ThresholdTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description tt_absolute
tt_delta
tt_deltaAverage
tt_percentage
tt_percentageAverage
tt_unknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Threshold.ThresholdTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static Threshold.ThresholdTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
tt_unknown
public static final Threshold.ThresholdTypes tt_unknown
-
tt_absolute
public static final Threshold.ThresholdTypes tt_absolute
-
tt_percentage
public static final Threshold.ThresholdTypes tt_percentage
-
tt_percentageAverage
public static final Threshold.ThresholdTypes tt_percentageAverage
-
tt_delta
public static final Threshold.ThresholdTypes tt_delta
-
tt_deltaAverage
public static final Threshold.ThresholdTypes tt_deltaAverage
-
-
Method Detail
-
values
public static Threshold.ThresholdTypes[] 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 (Threshold.ThresholdTypes c : Threshold.ThresholdTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Threshold.ThresholdTypes 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
-
-