org.sonar.plugins.checkstyle
Class CheckstylePlugin

java.lang.Object
  extended by org.sonar.plugins.checkstyle.CheckstylePlugin
All Implemented Interfaces:
Plugin

public class CheckstylePlugin
extends java.lang.Object
implements Plugin


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

Field Detail

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values
Constructor Detail

CheckstylePlugin

public CheckstylePlugin()
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


Copyright © 2007-2008 hortis. All Rights Reserved.