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