Package net.sourceforge.pmd
Class Report.SuppressedViolation
- java.lang.Object
-
- net.sourceforge.pmd.Report.SuppressedViolation
-
-
Constructor Summary
Constructors Constructor Description SuppressedViolation(RuleViolation rv, ViolationSuppressor suppressor, String userMessage)
Creates a suppressed violation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleViolation
getRuleViolation()
ViolationSuppressor
getSuppressor()
String
getUserMessage()
-
-
-
Constructor Detail
-
SuppressedViolation
public SuppressedViolation(RuleViolation rv, ViolationSuppressor suppressor, String userMessage)
Creates a suppressed violation.- Parameters:
rv
- The violation, that has been suppressedsuppressor
- The suppressor which suppressed the violationuserMessage
- Any relevant info given by the suppressor
-
-
Method Detail
-
getSuppressor
public ViolationSuppressor getSuppressor()
-
getRuleViolation
public RuleViolation getRuleViolation()
-
getUserMessage
public String getUserMessage()
-
-