Class Report.ConfigurationError

  • Enclosing class:
    Report

    public static class Report.ConfigurationError
    extends Object
    Represents a configuration error.
    • Constructor Detail

      • ConfigurationError

        public ConfigurationError​(Rule theRule,
                                  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 String issue()
        Gets the reason for the configuration error.
        Returns:
        the issue