Class RuleViolation

    • Method Detail

      • getRule

         final String getRule()

        The identifier of the rule that found this violation.

      • getPkg

         final Identifier getPkg()

        The identifier of the package that caused this rule violation.

      • getLicense

         final SpdxSingleLicenseExpression getLicense()

        The name of the license that caused this rule violation. Can be null if the rule does not work on licenses.

      • getHowToFix

         final String getHowToFix()

        A text explaining how the rule violation can be fixed. Reporters rendering this string should support the Markdown syntax to allow formatting of the text.