net.sourceforge.pmd
Class Report.RuleConfigurationError

java.lang.Object
  extended by net.sourceforge.pmd.Report.RuleConfigurationError
Enclosing class:
Report

public static class Report.RuleConfigurationError
extends Object

Represents a configuration error.


Constructor Summary
Report.RuleConfigurationError(Rule theRule, String theIssue)
          Creates a new configuration error.
 
Method Summary
 String issue()
          Gets the reason for the configuration error.
 Rule rule()
          Gets the wrongly configured rule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Report.RuleConfigurationError

public Report.RuleConfigurationError(Rule theRule,
                                     String theIssue)
Creates a new configuration error.

Parameters:
theRule - the rule which is configured wrongly
theIssue - 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 String issue()
Gets the reason for the configuration error.

Returns:
the issue


Copyright © 2002-2015 InfoEther. All Rights Reserved.