Package org.sonar.api.batch.postjob
Interface PostJob
-
@ScannerSide @ExtensionPoint public interface PostJob
PostJobs are executed at the very end of scanner analysis. A PostJob can't do any modification since everything is already computed (issues, measures,...).
WARNING: Do not rely on the fact that analysis results are available on server side when using WS since this is an asynchronous process to compute data on server side in 5.x series.- Since:
- 5.2, 7.6 postjobs are loaded in the project container
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
describe(PostJobDescriptor descriptor)
PopulatePostJobDescriptor
of this PostJob.void
execute(PostJobContext context)
Called at the end of the analysis.
-
-
-
Method Detail
-
describe
void describe(PostJobDescriptor descriptor)
PopulatePostJobDescriptor
of this PostJob.
-
execute
void execute(PostJobContext context)
Called at the end of the analysis.
-
-