org.sonar.core.components
Class CacheRuleFinder

java.lang.Object
  extended by org.sonar.core.components.DefaultRuleFinder
      extended by org.sonar.core.components.CacheRuleFinder
All Implemented Interfaces:
BatchComponent, RuleFinder, ServerComponent

public final class CacheRuleFinder
extends DefaultRuleFinder


Constructor Summary
CacheRuleFinder(DatabaseSessionFactory sessionFactory)
           
 
Method Summary
 Rule findById(int ruleId)
           
 Rule findByKey(String repositoryKey, String key)
           
 
Methods inherited from class org.sonar.core.components.DefaultRuleFinder
doFindById, doFindByKey, find, findAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheRuleFinder

public CacheRuleFinder(DatabaseSessionFactory sessionFactory)
Method Detail

findById

public Rule findById(int ruleId)
Specified by:
findById in interface RuleFinder
Overrides:
findById in class DefaultRuleFinder

findByKey

public Rule findByKey(String repositoryKey,
                      String key)
Specified by:
findByKey in interface RuleFinder
Overrides:
findByKey in class DefaultRuleFinder


Copyright © 2009-2011 SonarSource. All Rights Reserved.