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:PmdErrorReturns error name which is short, fixed, human-readable category of the error. - 
fileName
Description copied from interface:PmdErrorReturns file name which caused this error. May return sentinel value if file information is not available. - 
lines
Description copied from interface:PmdErrorReturns formatted line range which cause this error. May return sentinel value if line information is not available. - 
description
Description copied from interface:PmdErrorReturns error description.- Specified by:
 descriptionin interfacePmdError- Returns:
 - Description.
 
 
 -