org.sonar.core.rule
Class DefaultRuleFinder
java.lang.Object
org.sonar.core.rule.DefaultRuleFinder
- All Implemented Interfaces:
- BatchComponent, RuleFinder, ServerComponent
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)
findByKey
public Rule findByKey(String repositoryKey,
String key)
- Specified by:
findByKey
in interface RuleFinder
find
public Rule find(RuleQuery query)
- Specified by:
find
in interface RuleFinder
findAll
public Collection<Rule> findAll(RuleQuery query)
- Specified by:
findAll
in interface RuleFinder
Copyright © 2009-2010 SonarSource. All Rights Reserved.