org.sonar.core.components
Class DefaultRuleFinder
java.lang.Object
org.sonar.core.components.DefaultRuleFinder
- All Implemented Interfaces:
- BatchComponent, RuleFinder, ServerComponent
- Direct Known Subclasses:
- CacheRuleFinder
public class DefaultRuleFinder
- extends Object
- implements RuleFinder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRuleFinder
public DefaultRuleFinder(DatabaseSessionFactory sessionFactory)
findById
public Rule findById(int ruleId)
- Specified by:
findById
in interface RuleFinder
doFindById
protected final Rule doFindById(int ruleId)
findByKey
public Rule findByKey(String repositoryKey,
String key)
- Specified by:
findByKey
in interface RuleFinder
doFindByKey
protected final Rule doFindByKey(String repositoryKey,
String key)
find
public final Rule find(RuleQuery query)
- Specified by:
find
in interface RuleFinder
findAll
public final Collection<Rule> findAll(RuleQuery query)
- Specified by:
findAll
in interface RuleFinder
Copyright © 2009-2011 SonarSource. All Rights Reserved.