Class ParametricRuleViolation

    • Field Detail

      • rule

        protected final Rule rule
        Deprecated.
      • description

        protected final String description
        Deprecated.
    • Constructor Detail

      • ParametricRuleViolation

        @Deprecated
        public ParametricRuleViolation​(Rule theRule,
                                       Reportable node,
                                       String message)
        Deprecated.
        Update tests that use this not to call the ctor directly.
      • ParametricRuleViolation

        public ParametricRuleViolation​(Rule theRule,
                                       FileLocation location,
                                       String message)
        Deprecated.
    • Method Detail

      • getAdditionalInfo

        public Map<String,​String> getAdditionalInfo()
        Deprecated.
        Description copied from interface: RuleViolation
        A map of additional key-value pairs known about this violation. What data is in there is language specific. Common keys supported by several languages are defined as constants on this interface. The map is unmodifiable.
        Specified by:
        getAdditionalInfo in interface RuleViolation
      • getRule

        public Rule getRule()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the Rule which identified this violation.
        Specified by:
        getRule in interface RuleViolation
        Returns:
        The identifying Rule.
      • getDescription

        public String getDescription()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the description of this violation.
        Specified by:
        getDescription in interface RuleViolation
        Returns:
        The description.