org.sonar.core.qualitymodel
Class DefaultModelFinder

java.lang.Object
  extended by org.sonar.core.qualitymodel.DefaultModelFinder
All Implemented Interfaces:
BatchComponent, ModelFinder, ServerComponent

public class DefaultModelFinder
extends Object
implements ModelFinder


Constructor Summary
DefaultModelFinder(DatabaseSessionFactory sessionFactory)
           
 
Method Summary
 Model findByName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModelFinder

public DefaultModelFinder(DatabaseSessionFactory sessionFactory)
Method Detail

findByName

public Model findByName(String name)
Specified by:
findByName in interface ModelFinder
Returns:
null if the name is not found


Copyright © 2009-2010 SonarSource. All Rights Reserved.