Annotation Type RuleMetadata

    • Element Detail

      • id

        String id
        Returns a unique identifier for this particular RuleProvider. The default is based on the Class name, but this can be overridden here - or in subclasses - to provide a more readable name.
        Default:
        ""
      • description

        String description
        Returns a human-readable text containing a description of the rules in this RuleProvider.
        Default:
        ""
      • perform

        String perform
        String used to display the progress of rule execution to the user.
        Default:
        ""
      • afterIDs

        String[] afterIDs
        Returns a list of RuleProvider IDs after which the Rule instances supplied by this RuleProvider should be executed.

        This is returned as a list of RuleProvider IDs in order to support extensions that cannot depend on each other via class names.

        Default:
        {}
      • beforeIDs

        String[] beforeIDs
        Returns a list of RuleProvider IDs before which the Rule instances supplied by this RuleProvider should be executed.

        This is returned as a list of RuleProvider IDs in order to support extensions that cannot depend on each other via class names.

        Default:
        {}
      • sourceTechnologies

        Technology[] sourceTechnologies
        A list of source technologies that the annotated rules pertain to.
        Default:
        {}
      • targetTechnologies

        Technology[] targetTechnologies
        A list of target technologies that the annotated rules pertain to.
        Default:
        {}
      • haltOnException

        boolean haltOnException
        Whether Windup should stop execution if this provider's rule execution ends with an exception. By default, the exceptions are only logged and the failing rule appears in report. The rule itself is responsible for handling exceptions and storing them into the graph.
        Default:
        false
      • overrideProvider

        boolean overrideProvider
        Indicates whether or not the rules in this provider should override other rules. If this ruleprovider has the same ID as another rule provider, then any rules in this provider will override rules from that base rule provider that have the same id.
        Default:
        false
      • disabled

        boolean disabled
        If true, Windup will skip running this RuleProvider. Meant for development purposes.
        Default:
        false