ActiveRules
on batch side.@Deprecated @ScannerSide @ServerSide @ComputeEngineSide public interface RuleFinder
Modifier and Type | Method and Description |
---|---|
Rule |
find(RuleQuery query)
Deprecated.
|
java.util.Collection<Rule> |
findAll(RuleQuery query)
Deprecated.
|
Rule |
findById(int ruleId)
Deprecated.
since 4.4, Please use
findByKey(org.sonar.api.rule.RuleKey) } |
Rule |
findByKey(RuleKey key)
Deprecated.
|
Rule |
findByKey(java.lang.String repositoryKey,
java.lang.String key)
Deprecated.
|
@CheckForNull @Deprecated Rule findById(int ruleId)
findByKey(org.sonar.api.rule.RuleKey)
}@CheckForNull Rule findByKey(java.lang.String repositoryKey, java.lang.String key)
@CheckForNull Rule find(RuleQuery query)
java.lang.IllegalArgumentException
- if more than one result