Uses of Interface
net.sourceforge.pmd.reporting.RuleViolation
-
Packages that use RuleViolation Package Description net.sourceforge.pmd.renderers net.sourceforge.pmd.reporting Logic about reporting: violations, suppression etc. -
-
Uses of RuleViolation in net.sourceforge.pmd.renderers
Method parameters in net.sourceforge.pmd.renderers with type arguments of type RuleViolation Modifier and Type Method Description abstract void
AbstractIncrementingRenderer. renderFileViolations(Iterator<RuleViolation> violations)
Render a series ofRuleViolation
s.void
CodeClimateRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
CSVRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
EmacsRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
HTMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
IDEAJRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
JsonRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
SarifRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
TextPadRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
TextRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
VBHTMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
XMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)
-
Uses of RuleViolation in net.sourceforge.pmd.reporting
Fields in net.sourceforge.pmd.reporting with type parameters of type RuleViolation Modifier and Type Field Description static Comparator<RuleViolation>
RuleViolation. DEFAULT_COMPARATOR
A comparator for rule violations.Methods in net.sourceforge.pmd.reporting that return RuleViolation Modifier and Type Method Description RuleViolation
Report.SuppressedViolation. getRuleViolation()
Methods in net.sourceforge.pmd.reporting that return types with arguments of type RuleViolation Modifier and Type Method Description List<RuleViolation>
Report. getViolations()
Returns an unmodifiable list of violations that have been recorded until now.Methods in net.sourceforge.pmd.reporting with parameters of type RuleViolation Modifier and Type Method Description void
FileAnalysisListener. onRuleViolation(RuleViolation violation)
Handle a new violation (not suppressed).void
Report.ReportBuilderListener. onRuleViolation(RuleViolation violation)
static @Nullable Report.SuppressedViolation
ViolationSuppressor. suppressOrNull(List<ViolationSuppressor> suppressorList, RuleViolation rv, Node node)
Apply a list of suppressors on the violation.@Nullable Report.SuppressedViolation
ViolationSuppressor. suppressOrNull(RuleViolation rv, @NonNull Node node)
Returns aReport.SuppressedViolation
if the given violation is suppressed by this object.Method parameters in net.sourceforge.pmd.reporting with type arguments of type RuleViolation Modifier and Type Method Description Report
Report. filterViolations(Predicate<RuleViolation> filter)
Creates a new report taking all the information from this report, but filtering the violations.Constructors in net.sourceforge.pmd.reporting with parameters of type RuleViolation Constructor Description SuppressedViolation(RuleViolation rv, ViolationSuppressor suppressor, String userMessage)
Creates a suppressed violation.
-