Enum Class RequirementType
- All Implemented Interfaces:
Serializable,Comparable<RequirementType>,Constable
Represents the different types of requirements that can be defined for annotations.
This enum is used in conjunction with RequirementMeta to specify how a requirement
should be processed. Each type has a distinct purpose and influences the behavior of
requirement handling:
- Since:
- 3.1.0-SNAPSHOT
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic RequirementTypeReturns the enum constant of this class with the specified name.static RequirementType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLAG
A requirement type indicating that the presence of the annotation alone is the part of the requirement. -
STORING
A requirement type indicating that the annotation holds specific data that must be extracted and stored.
-
-
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
-