Is there an EndOfAnalysis event to recognize that there is no more files?

Dear Sonar Scanner Team,

Could you please let me know how to find out in my java custom rule plugin that the we leave the last file? I would like to create a report on the end of the analysis.

Thank you!

Best regards,

Hi Mark,

The API does not expose an EndOfAnalysis feature, so it’s not possible. The interface used by some internal JavaCheck is not part of the package, so this interface could be changed or removed in any future sonar-java release.