Package tech.units.tck.util
Enum TestGroups.Profile
- All Implemented Interfaces:
Serializable
,Comparable<TestGroups.Profile>
,java.lang.constant.Constable
,tech.uom.lib.common.function.DescriptionSupplier
- Enclosing class:
- TestGroups
public static enum TestGroups.Profile extends Enum<TestGroups.Profile> implements tech.uom.lib.common.function.DescriptionSupplier
Profiles used in the JSR 385 TCK.
Some of the most common profiles (used by
TCKRunner
) are:
- Since:
- 1.0
- Version:
- 1.2
- Author:
- Werner Keil
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BASE_QUANTITY
FORMAT
FULL
MINIMAL
QUANTITY
QUANTITY_FORMAT
SPI
-
Method Summary
Modifier and Type Method Description String
getDescription()
String[]
getGroups()
boolean
isDefault()
static TestGroups.Profile
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestGroups.Profile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getDescription
- Specified by:
getDescription
in interfacetech.uom.lib.common.function.DescriptionSupplier
-
getGroups
-
isDefault
-