Package tech.units.tck.util
Enum TestGroups.Profile
- java.lang.Object
-
- java.lang.Enum<TestGroups.Profile>
-
- tech.units.tck.util.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 byTCKRunner
) are:- Since:
- 1.0
- Version:
- 1.2
- Author:
- Werner Keil
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
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 Detail
-
MINIMAL
public static final TestGroups.Profile MINIMAL
-
FORMAT
public static final TestGroups.Profile FORMAT
-
BASE_QUANTITY
public static final TestGroups.Profile BASE_QUANTITY
-
QUANTITY
public static final TestGroups.Profile QUANTITY
-
QUANTITY_FORMAT
public static final TestGroups.Profile QUANTITY_FORMAT
-
SPI
public static final TestGroups.Profile SPI
-
FULL
public static final TestGroups.Profile FULL
-
-
Method Detail
-
values
public static TestGroups.Profile[] 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
public static TestGroups.Profile 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
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfacetech.uom.lib.common.function.DescriptionSupplier
-
isDefault
public boolean isDefault()
-
-