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 then one implementation of
PostProjectAnalysisTask
is found, they will be executed in no specific order.Class
PostProjectAnalysisTaskTester
is provided to write unit tests of implementations of this interface.- Since:
- 5.5
- See Also:
PostProjectAnalysisTaskTester
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PostProjectAnalysisTask.Context
static interface
PostProjectAnalysisTask.LogStatistics
Each key-value paar will be added to the log describing the end of thestatic interface
PostProjectAnalysisTask.ProjectAnalysis
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
finished(PostProjectAnalysisTask.Context context)
default void
finished(PostProjectAnalysisTask.ProjectAnalysis analysis)
Deprecated.in 8.0.default java.lang.String
getDescription()
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
-
-