org.sonar.core.components
Class CacheRuleFinder
java.lang.Object
org.sonar.core.components.DefaultRuleFinder
org.sonar.core.components.CacheRuleFinder
- All Implemented Interfaces:
- BatchComponent, RuleFinder, ServerComponent
public final class CacheRuleFinder
- extends DefaultRuleFinder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheRuleFinder
public CacheRuleFinder(DatabaseSessionFactory sessionFactory)
findById
public Rule findById(int ruleId)
- Specified by:
findById
in interface RuleFinder
- Overrides:
findById
in class DefaultRuleFinder
findByKey
public Rule findByKey(String repositoryKey,
String ruleKey)
- Specified by:
findByKey
in interface RuleFinder
- Overrides:
findByKey
in class DefaultRuleFinder
Copyright © 2009-2011 SonarSource. All Rights Reserved.