Package org.sonar.api
Class SonarPlugin
- java.lang.Object
-
- org.sonar.api.SonarPlugin
-
- All Implemented Interfaces:
Plugin
@Deprecated public abstract class SonarPlugin extends java.lang.Object implements Plugin
Deprecated.replaced byPluginin version 5.6.Plugin entry-point used to declare its extensions (seeorg.sonar.api.Extension.
The JAR manifest must declare the name of the implementation class in the property
Plugin-Class. This property is automatically set by sonar-packaging-maven-plugin when building plugin.- Since:
- 2.8
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.api.Plugin
Plugin.Context
-
-
Constructor Summary
Constructors Constructor Description SonarPlugin()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddefine(Plugin.Context context)Deprecated.This method is executed at runtime when: Web Server starts Compute Engine starts Scanner startsabstract java.util.ListgetExtensions()Deprecated.Classes of the implemented extensions.java.lang.StringtoString()Deprecated.Returns a string representation of the plugin, suitable for debugging purposes only.
-
-
-
Method Detail
-
getExtensions
public abstract java.util.List getExtensions()
Deprecated.Classes of the implemented extensions.
-
toString
public java.lang.String toString()
Deprecated.Returns a string representation of the plugin, suitable for debugging purposes only.- Overrides:
toStringin classjava.lang.Object
-
define
public void define(Plugin.Context context)
Deprecated.Description copied from interface:PluginThis method is executed at runtime when:- Web Server starts
- Compute Engine starts
- Scanner starts
-
-