Package com.qulice.pmd
Class PmdError.OfRuleViolation
java.lang.Object
com.qulice.pmd.PmdError.OfRuleViolation
- All Implemented Interfaces:
PmdError
- Enclosing interface:
- PmdError
PmdError backed by a RuleViolation.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.qulice.pmd.PmdError
PmdError.OfConfigError, PmdError.OfProcessingError, PmdError.OfRuleViolation
-
Constructor Summary
ConstructorsConstructorDescriptionOfRuleViolation
(net.sourceforge.pmd.RuleViolation violation) Creates a new PmdError, representing given RuleViolation. -
Method Summary
-
Constructor Details
-
OfRuleViolation
public OfRuleViolation(net.sourceforge.pmd.RuleViolation violation) Creates a new PmdError, representing given RuleViolation.- Parameters:
violation
- Internal RuleViolation.
-
-
Method Details
-
name
Description copied from interface:PmdError
Returns error name which is short, fixed, human-readable category of the error. -
fileName
Description copied from interface:PmdError
Returns file name which caused this error. May return sentinel value if file information is not available. -
lines
Description copied from interface:PmdError
Returns formatted line range which cause this error. May return sentinel value if line information is not available. -
description
Description copied from interface:PmdError
Returns error description.- Specified by:
description
in interfacePmdError
- Returns:
- Description.
-