Package org.sonar.api.batch.sensor.rule
Interface AdHocRule
-
public interface AdHocRule
Represents a rule imported from an external rule engine by aSensor
.- Since:
- 7.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
description()
Description of the rule.java.lang.String
engineId()
Unique identifier of the external analyzer (e.g.java.lang.String
name()
Name of the rule.java.lang.String
ruleId()
Unique rule identifier for a givenengineId()
Severity
severity()
Default severity of the rule.RuleType
type()
Type of the rule.
-
-
-
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 givenengineId()
-
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.
-
-