Class GlobalAnalysisListener.ViolationCounterListener

java.lang.Object
net.sourceforge.pmd.util.BaseResultProducingCloseable<Integer>
net.sourceforge.pmd.reporting.GlobalAnalysisListener.ViolationCounterListener
All Implemented Interfaces:
AutoCloseable, GlobalAnalysisListener
Enclosing interface:
GlobalAnalysisListener

public static final class GlobalAnalysisListener.ViolationCounterListener extends BaseResultProducingCloseable<Integer> implements GlobalAnalysisListener
A listener that just counts recorded violations. The result is available after the listener is closed (BaseResultProducingCloseable.getResult()).