Package com.qulice.pmd
Class PmdError.OfRuleViolation
- java.lang.Object
-
- com.qulice.pmd.PmdError.OfRuleViolation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.qulice.pmd.PmdError
PmdError.OfConfigError, PmdError.OfProcessingError, PmdError.OfRuleViolation
-
-
Constructor Summary
Constructors Constructor Description OfRuleViolation(net.sourceforge.pmd.RuleViolation violation)
Creates a new PmdError, representing given RuleViolation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Returns error description.String
fileName()
Returns file name which caused this error.String
lines()
Returns formatted line range which cause this error.String
name()
Returns error name which is short, fixed, human-readable category of the error.
-
-
-
Method Detail
-
name
public String name()
Description copied from interface:PmdError
Returns error name which is short, fixed, human-readable category of the error.
-
fileName
public String fileName()
Description copied from interface:PmdError
Returns file name which caused this error. May return sentinel value if file information is not available.
-
lines
public String 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
public String description()
Description copied from interface:PmdError
Returns error description.- Specified by:
description
in interfacePmdError
- Returns:
- Description.
-
-