Class 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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 java.lang.String issue()
        Gets the reason for the configuration error.
        Returns:
        the issue