org.sonar.plugins.sources
Class SourcesPlugin

java.lang.Object
  extended by org.sonar.plugins.sources.SourcesPlugin
All Implemented Interfaces:
Plugin

public class SourcesPlugin
extends java.lang.Object
implements Plugin


Constructor Summary
SourcesPlugin()
           
 
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
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourcesPlugin

public SourcesPlugin()
Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: Plugin
unique key within sonar providers

Specified by:
getKey in interface Plugin

getName

public java.lang.String getName()
Description copied from interface: Plugin
descriptive name

Specified by:
getName in interface Plugin

getLanguage

public Language getLanguage()
Description copied from interface: Plugin
return null if it should execute whatever the language

Specified by:
getLanguage in interface Plugin

getMetrics

public java.util.List<Metric> getMetrics()
Specified by:
getMetrics in interface Plugin

getMavenPluginHandlerClass

public java.lang.Class<? extends MavenPluginHandler> getMavenPluginHandlerClass()
Description copied from interface: Plugin
return null if the plugin does not depend on the execution of another maven plugin

Specified by:
getMavenPluginHandlerClass in interface Plugin

getMavenCollectorClass

public java.lang.Class<? extends MavenCollector> getMavenCollectorClass()
Specified by:
getMavenCollectorClass in interface Plugin

getRulesRepository

public java.lang.Class<? extends RulesRepository> getRulesRepository()
Description copied from interface: Plugin
can return null

Specified by:
getRulesRepository in interface Plugin

getJobs

public java.util.List<java.lang.Class<? extends Job>> getJobs()
Specified by:
getJobs in interface Plugin

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007-2008 hortis. All Rights Reserved.