Enum Class Cardinality.Fixed
- All Implemented Interfaces:
Cardinality,Serializable,Comparable<Cardinality.Fixed>,Constable
- Enclosing interface:
Cardinality
The fixed (non-rule-relative) cardinality kinds.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface com.arc_e_tect.gradle.trackerlens.contract.Cardinality
Cardinality.Fixed, Cardinality.SameCountAsRule -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAt least one match in the whole document.At least one match within each tracker section.At most one match in the whole document.At most one match within each tracker section.Exactly one match in the whole document.The whole-document match count equals the number of discovered tracker sections. -
Method Summary
Modifier and TypeMethodDescriptionstatic Cardinality.FixedReturns the enum constant of this class with the specified name.static Cardinality.Fixed[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACTLY_ONE
Exactly one match in the whole document. -
AT_LEAST_ONE
At least one match in the whole document. -
AT_MOST_ONE
At most one match in the whole document. -
AT_LEAST_ONE_PER_TRACKER
At least one match within each tracker section. -
AT_MOST_ONE_PER_TRACKER
At most one match within each tracker section. -
SAME_COUNT_AS_TRACKERS
The whole-document match count equals the number of discovered tracker sections.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-