Package org.sonar.api.ce.posttask
Interface PostProjectAnalysisTask
-
@ExtensionPoint @ComputeEngineSide public interface PostProjectAnalysisTask
Extension point of which any plugin can provide an implementation and will allow them to be notified whenever some analysis report processing ends in the Compute Engine.If more than one implementation of
PostProjectAnalysisTaskis found, they will be executed in no specific order.Class PostProjectAnalysisTaskTester in sonar-plugin-api-test-fixtures is provided to write unit tests of implementations of this interface.
- Since:
- 5.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePostProjectAnalysisTask.Contextstatic interfacePostProjectAnalysisTask.LogStatisticsEach key-value paar will be added to the log describing the end of thestatic interfacePostProjectAnalysisTask.ProjectAnalysis
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidfinished(PostProjectAnalysisTask.Context context)default voidfinished(PostProjectAnalysisTask.ProjectAnalysis analysis)Deprecated.in 8.0.default java.lang.StringgetDescription()A short description or name for the task.
-
-
-
Method Detail
-
getDescription
default java.lang.String getDescription()
A short description or name for the task.This will be used (but not limited to) in logs reporting the execution of the task.
- Since:
- 8.0
-
finished
@Deprecated default void finished(PostProjectAnalysisTask.ProjectAnalysis analysis)
Deprecated.in 8.0. Implementfinished(Context)insteadThis method is called whenever the processing of a Project analysis has finished, whether successfully or not.
-
finished
default void finished(PostProjectAnalysisTask.Context context)
- Since:
- 8.0
-
-