@ScannerSide @Immutable public interface Rules
Modifier and Type | Method and Description |
---|---|
Rule |
find(RuleKey key)
Get a rule by its key.
|
java.util.Collection<Rule> |
findAll() |
java.util.Collection<Rule> |
findByInternalKey(java.lang.String repository,
java.lang.String internalKey) |
java.util.Collection<Rule> |
findByRepository(java.lang.String repository)
Get the rules of the given repository.
|
@CheckForNull Rule find(RuleKey key)
null
if rule does not exist.java.util.Collection<Rule> findAll()
java.util.Collection<Rule> findByRepository(java.lang.String repository)
java.util.Collection<Rule> findByInternalKey(java.lang.String repository, java.lang.String internalKey)