net.sourceforge.pmd.processor
Class AbstractPMDProcessor
java.lang.Object
net.sourceforge.pmd.processor.AbstractPMDProcessor
- Direct Known Subclasses:
- MonoThreadProcessor, MultiThreadProcessor
public abstract class AbstractPMDProcessor
- extends Object
- Author:
- Romain Pelisse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected final PMDConfiguration configuration
AbstractPMDProcessor
public AbstractPMDProcessor(PMDConfiguration configuration)
renderReports
public void renderReports(List<Renderer> renderers,
Report report)
filenameFrom
protected String filenameFrom(DataSource dataSource)
createRuleSets
protected RuleSets createRuleSets(RuleSetFactory factory)
- Create instances for each rule defined in the ruleset(s) in
the configuration.
Please note, that the returned instances must not
be used by different threads. Each thread must create its own
copy of the rules (see
PmdRunnable.PmdThread.getRuleSets(String)
).
- Parameters:
factory
-
- Returns:
- the rules within a rulesets
Copyright © 2002-2016 InfoEther. All Rights Reserved.