org.sonar.plugins.api
Interface Plugin

All Known Implementing Classes:
CheckstylePlugin, JavaNcssPlugin, PmdPlugin, SourcesPlugin

public interface Plugin


Method Summary
 java.util.List<java.lang.Class<? extends Job>> getJobs()
           
 java.lang.String getKey()
          unique key within sonar providers
 Language getLanguage()
          return null if it should execute whatever the language
 java.lang.Class<? extends MavenCollector> getMavenCollectorClass()
           
 java.lang.Class<? extends MavenPluginHandler> getMavenPluginHandlerClass()
          return null if the plugin does not depend on the execution of another maven plugin
 java.util.List<Metric> getMetrics()
           
 java.lang.String getName()
          descriptive name
 java.lang.Class<? extends RulesRepository> getRulesRepository()
          can return null
 

Method Detail

getKey

java.lang.String getKey()
unique key within sonar providers


getName

java.lang.String getName()
descriptive name


getLanguage

Language getLanguage()
return null if it should execute whatever the language


getMetrics

java.util.List<Metric> getMetrics()

getMavenPluginHandlerClass

java.lang.Class<? extends MavenPluginHandler> getMavenPluginHandlerClass()
return null if the plugin does not depend on the execution of another maven plugin


getMavenCollectorClass

java.lang.Class<? extends MavenCollector> getMavenCollectorClass()

getRulesRepository

java.lang.Class<? extends RulesRepository> getRulesRepository()
can return null


getJobs

java.util.List<java.lang.Class<? extends Job>> getJobs()


Copyright © 2007-2008 hortis. All Rights Reserved.