Class AbstractRuleProvider

    • Method Detail

      • handles

        public boolean handles​(Object payload)
        Specified by:
        handles in interface org.ocpsoft.common.pattern.Specialized<Object>
      • enhanceRuleMetadata

        public static void enhanceRuleMetadata​(RuleProvider provider,
                                               org.ocpsoft.rewrite.config.Rule rule)
        Specify additional meta-data to individual Rule instances originating from the corresponding RuleProvider instance.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExecutionIndex

        public final int getExecutionIndex()
        For internal use only.
      • setExecutionIndex

        public final void setExecutionIndex​(int executionIndex)
        For internal use only.
      • priority

        public final int priority()
        The "priority" of the RuleProvider instance. This is not presently used by Windup.
        Specified by:
        priority in interface org.ocpsoft.common.pattern.Weighted
      • toString

        public String toString()
        Overrides:
        toString in class org.ocpsoft.rewrite.context.ContextBase