public class CachedRuleMapper extends Object
Constructor and Description |
---|
CachedRuleMapper() |
Modifier and Type | Method and Description |
---|---|
Rule |
getRuleForClass(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(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–2017 PMD. All rights reserved.