Uses of Interface
net.sourceforge.pmd.reporting.GlobalAnalysisListener
-
Packages that use GlobalAnalysisListener Package Description net.sourceforge.pmd This is the PMD programming mistake detector.net.sourceforge.pmd.lang net.sourceforge.pmd.renderers net.sourceforge.pmd.reporting Logic about reporting: violations, suppression etc. -
-
Uses of GlobalAnalysisListener in net.sourceforge.pmd
Methods in net.sourceforge.pmd with parameters of type GlobalAnalysisListener Modifier and Type Method Description void
PmdAnalysis. addListener(GlobalAnalysisListener listener)
Add a new listener.Method parameters in net.sourceforge.pmd with type arguments of type GlobalAnalysisListener Modifier and Type Method Description void
PmdAnalysis. addListeners(Collection<? extends GlobalAnalysisListener> listeners)
Add several listeners at once. -
Uses of GlobalAnalysisListener in net.sourceforge.pmd.lang
Methods in net.sourceforge.pmd.lang that return GlobalAnalysisListener Modifier and Type Method Description GlobalAnalysisListener
LanguageProcessor.AnalysisTask. getListener()
Methods in net.sourceforge.pmd.lang with parameters of type GlobalAnalysisListener Modifier and Type Method Description static LanguageProcessor.AnalysisTask
InternalApiBridge. createAnalysisTask(net.sourceforge.pmd.lang.rule.internal.RuleSets rulesets, List<TextFile> files, GlobalAnalysisListener listener, int threadCount, net.sourceforge.pmd.cache.internal.AnalysisCache analysisCache, PmdReporter messageReporter, LanguageProcessorRegistry lpRegistry)
-
Uses of GlobalAnalysisListener in net.sourceforge.pmd.renderers
Methods in net.sourceforge.pmd.renderers that return GlobalAnalysisListener Modifier and Type Method Description GlobalAnalysisListener
AbstractAccumulatingRenderer. newListener()
default GlobalAnalysisListener
Renderer. newListener()
Returns a new analysis listener, that handles violations by rendering them in an implementation-defined way. -
Uses of GlobalAnalysisListener in net.sourceforge.pmd.reporting
Classes in net.sourceforge.pmd.reporting that implement GlobalAnalysisListener Modifier and Type Class Description static class
GlobalAnalysisListener.ViolationCounterListener
A listener that just counts recorded violations.static class
Report.GlobalReportBuilderListener
AGlobalAnalysisListener
that accumulates the events of all files into aReport
.class
ReportStatsListener
Collects summarized info about a PMD run.Methods in net.sourceforge.pmd.reporting that return GlobalAnalysisListener Modifier and Type Method Description static GlobalAnalysisListener
GlobalAnalysisListener. exceptionThrower()
A listener that throws processing errors when they occur.static GlobalAnalysisListener
GlobalAnalysisListener. noop()
A listener that does nothing.static GlobalAnalysisListener
GlobalAnalysisListener. tee(Collection<? extends GlobalAnalysisListener> listeners)
Produce an analysis listener that forwards all events to the given listeners.Method parameters in net.sourceforge.pmd.reporting with type arguments of type GlobalAnalysisListener Modifier and Type Method Description static GlobalAnalysisListener
GlobalAnalysisListener. tee(Collection<? extends GlobalAnalysisListener> listeners)
Produce an analysis listener that forwards all events to the given listeners.
-