Package net.sourceforge.pmd
Class Report.ConfigurationError
- java.lang.Object
-
- net.sourceforge.pmd.Report.ConfigurationError
-
- Enclosing class:
- Report
public static class Report.ConfigurationError extends java.lang.Object
Represents a configuration error.
-
-
Constructor Summary
Constructors Constructor Description ConfigurationError(Rule theRule, java.lang.String theIssue)
Creates a new configuration error for a specific rule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
issue()
Gets the reason for the configuration error.Rule
rule()
Gets the wrongly configured rule
-
-
-
Constructor Detail
-
ConfigurationError
public ConfigurationError(Rule theRule, java.lang.String theIssue)
Creates a new configuration error for a specific rule.- Parameters:
theRule
- the rule which is configured wronglytheIssue
- the reason, why the configuration is wrong
-
-
Method Detail
-
rule
public Rule rule()
Gets the wrongly configured rule- Returns:
- the wrongly configured rule
-
issue
public java.lang.String issue()
Gets the reason for the configuration error.- Returns:
- the issue
-
-