public class CachedRuleMapper
extends java.lang.Object
Constructor and Description |
---|
CachedRuleMapper() |
Modifier and Type | Method and Description |
---|---|
Rule |
getRuleForClass(java.lang.String className)
Finds a rule instance for the given rule class name
|
void |
initialize(RuleSets rs)
Initialize the mapper with the given rulesets.
|
public Rule getRuleForClass(java.lang.String className)
className
- The name of the rule class that generated the cache entrypublic void initialize(RuleSets rs)
rs
- The rulesets from which to retrieve rules.Copyright © 2002–2018 PMD. All rights reserved.