- 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:
- 2.0
- 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 ConstantsEnum ConstantDescriptionBase Quantity ProfileFormat ProfileFull ProfileMinimal ProfileQuantity ProfileQuantity/Format ProfileSPI Profile -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the test groupsboolean
Returns true for the default profilestatic TestGroups.Profile
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
-
MINIMAL
Minimal Profile -
FORMAT
Format Profile -
BASE_QUANTITY
Base Quantity Profile -
QUANTITY
Quantity Profile -
QUANTITY_FORMAT
Quantity/Format Profile -
SPI
SPI Profile -
FULL
Full Profile
-
-
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
Returns the test groups- Returns:
- test groups
-
isDefault
Returns true for the default profile- Returns:
- true for the default profile
-