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

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

public abstract class CheckFactory<CHECK>
extends Object

Since:
2.3

Constructor Summary
protected CheckFactory(RulesProfile profile, String repositoryKey)
           
 
Method Summary
 ActiveRule getActiveRule(CHECK check)
           
 CHECK getCheck(ActiveRule activeRule)
           
 Collection<CHECK> 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<CHECK> getChecks()

getCheck

public final CHECK getCheck(ActiveRule activeRule)

getActiveRule

public final ActiveRule getActiveRule(CHECK check)


Copyright © 2009-2012 SonarSource. All Rights Reserved.