Interface AdHocRule


  • public interface AdHocRule
    Represents a rule imported from an external rule engine by a Sensor.
    Since:
    7.4
    • Method Detail

      • engineId

        java.lang.String engineId()
        Unique identifier of the external analyzer (e.g. eslint, pmd, ...)
      • ruleId

        java.lang.String ruleId()
        Unique rule identifier for a given engineId()
      • name

        java.lang.String name()
        Name of the rule.
      • description

        @CheckForNull
        java.lang.String description()
        Description of the rule.
      • severity

        Severity severity()
        Default severity of the rule.
      • type

        RuleType type()
        Type of the rule.