Class CachedRuleMapper


  • @Deprecated
    @InternalApi
    public class CachedRuleMapper
    extends java.lang.Object
    Deprecated.
    This is internal API, will be hidden with 7.0.0
    A mapper from rule class names to rule instances for cached rules.
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedRuleMapper()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Rule getRuleForClass​(java.lang.String className, java.lang.String ruleName, java.lang.String languageName)
      Deprecated.
      Finds a rule instance for the given rule class name, name and target language
      void initialize​(RuleSets rs)
      Deprecated.
      Initialize the mapper with the given rulesets.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachedRuleMapper

        public CachedRuleMapper()
        Deprecated.
    • Method Detail

      • getRuleForClass

        public Rule getRuleForClass​(java.lang.String className,
                                    java.lang.String ruleName,
                                    java.lang.String languageName)
        Deprecated.
        Finds a rule instance for the given rule class name, name and target language
        Parameters:
        className - The name of the rule class that generated the cache entry
        ruleName - The name of the rule that generated the cache entry
        languageName - The terse name of the language for which the rule applies
        Returns:
        The requested rule
      • initialize

        public void initialize​(RuleSets rs)
        Deprecated.
        Initialize the mapper with the given rulesets.
        Parameters:
        rs - The rulesets from which to retrieve rules.