Annotation Interface RequirementMeta


Annotation to define metadata for custom requirement annotations.

This meta-annotation is applied to other annotations that serve as requirements within the system. It provides details about how the annotated requirement should be handled, such as the methods to extract data and its type.

Attributes:

  • methods: Specifies which method(s) to use when retrieving data from the annotated requirement.
  • type: Indicates the type of requirement. Defaults to RequirementType.STORING.
Since:
3.1.0-SNAPSHOT
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the method(s) to be used when extracting values from the annotated requirement.
    Defines the type of requirement.
  • Element Details

    • methods

      String[] methods
      Specifies the method(s) to be used when extracting values from the annotated requirement.
      Returns:
      an array of method names to extract values from.
      Default:
      {"value"}
    • type

      Defines the type of requirement. This affects how the requirement is interpreted and processed.

      Defaults to RequirementType.STORING, which assumes that the requirement holds specific data to be stored and processed.

      Returns:
      the RequirementType of the annotated requirement.
      Default:
      STORING