Interface RuleProviderMetadata

    • Method Detail

      • getExecuteAfterIDs

        List<String> getExecuteAfterIDs()
        Returns a list of the RuleProvider classes that should execute before the Rules in this RuleProvider.

        This is returned as a list of Rule IDs in order to support extensions that cannot depend on each other via class names. For example, in the case of the Groovy rules extension, a single class covers many rules with their own IDs.

        For specifying Java-based rules, getExecuteAfter() is preferred.

      • getExecuteBeforeIDs

        List<String> getExecuteBeforeIDs()
        Returns a list of the RuleProvider classes that should execute after the Rules in this RuleProvider.

        This is returned as a list of Rule IDs in order to support extensions that cannot depend on each other via Class names. For example, in the case of the Groovy rules extension, a single class covers many rules with their own IDs.

        For specifying Java-based rules, getExecuteBefore() is preferred.

      • isHaltOnException

        boolean isHaltOnException()
        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.

      • isOverrideProvider

        boolean isOverrideProvider()
        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.

      • isDisabled

        boolean isDisabled()
        If true, Windup will skip running this RuleProvider. Meant for development purposes.