@ScannerSide public interface Rules
Modifier and Type | Method and Description |
---|---|
Rule |
find(RuleKey key)
Get a rule by its key.
|
Collection<Rule> |
findAll() |
Collection<Rule> |
findByInternalKey(String repository,
String internalKey) |
Collection<Rule> |
findByRepository(String repository)
Get the rules of the given repository.
|
@CheckForNull Rule find(RuleKey key)
null
if rule does not exist.Collection<Rule> findAll()
Collection<Rule> findByRepository(String repository)
Collection<Rule> findByInternalKey(String repository, String internalKey)
Copyright © 2009–2017 SonarSource. All rights reserved.