Plugin in version 5.6.@Deprecated public abstract class SonarPlugin extends java.lang.Object implements Plugin
org.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.
Plugin.Context| Constructor and Description |
|---|
SonarPlugin()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
define(Plugin.Context context)
Deprecated.
This method is executed at runtime when:
Web Server starts
Compute Engine starts
Scanner starts
|
abstract java.util.List |
getExtensions()
Deprecated.
Classes of the implemented extensions.
|
java.lang.String |
toString()
Deprecated.
Returns a string representation of the plugin, suitable for debugging purposes only.
|
public abstract java.util.List getExtensions()
public java.lang.String toString()
toString in class java.lang.Objectpublic void define(Plugin.Context context)
Plugin