org.sonar.api.checks.templates
Class AnnotationCheckTemplateFactory

java.lang.Object
  extended by org.sonar.api.checks.templates.AnnotationCheckTemplateFactory

public class AnnotationCheckTemplateFactory
extends java.lang.Object

Load templates from class annotations (see the library sonar-check-api)


Constructor Summary
AnnotationCheckTemplateFactory(java.util.Collection<java.lang.Class> annotatedClasses)
           
 
Method Summary
 java.util.List<CheckTemplate> create()
           
protected  BundleCheckTemplate create(java.lang.Class annotatedClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationCheckTemplateFactory

public AnnotationCheckTemplateFactory(java.util.Collection<java.lang.Class> annotatedClasses)
Method Detail

create

public java.util.List<CheckTemplate> create()

create

protected BundleCheckTemplate create(java.lang.Class annotatedClass)


Copyright © 2009-2010 SonarSource. All Rights Reserved.