Package io.quarkus.test.metrics
Enum HistogramTypes
- java.lang.Object
-
- java.lang.Enum<HistogramTypes>
-
- io.quarkus.test.metrics.HistogramTypes
-
- All Implemented Interfaces:
Serializable,Comparable<HistogramTypes>
public enum HistogramTypes extends Enum<HistogramTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MODULE_TEST_TIME_SECUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()HistogramTypesgetType(String code)static HistogramTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static HistogramTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODULE_TEST_TIME_SEC
public static final HistogramTypes MODULE_TEST_TIME_SEC
-
UNKNOWN
public static final HistogramTypes UNKNOWN
-
-
Method Detail
-
values
public static HistogramTypes[] 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 (HistogramTypes c : HistogramTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HistogramTypes 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
-
getCode
public String getCode()
-
getType
public HistogramTypes getType(String code)
-
-