org.sonar.api.checks
Class CheckFactory<C>

java.lang.Object
  extended by org.sonar.api.checks.CheckFactory<C>
Direct Known Subclasses:
AnnotationCheckFactory

public abstract class CheckFactory<C>
extends Object

Since:
2.3

Constructor Summary
protected CheckFactory(RulesProfile profile, String repositoryKey)
           
 
Method Summary
 ActiveRule getActiveRule(C check)
           
 C getCheck(ActiveRule activeRule)
           
 Collection<C> getChecks()
           
 String getRepositoryKey()
           
protected  void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckFactory

protected CheckFactory(RulesProfile profile,
                       String repositoryKey)
Method Detail

init

protected void init()

getRepositoryKey

public final String getRepositoryKey()

getChecks

public final Collection<C> getChecks()

getCheck

public final C getCheck(ActiveRule activeRule)

getActiveRule

public final ActiveRule getActiveRule(C check)


Copyright © 2009-2013 SonarSource. All Rights Reserved.