I checked and it seems that we don’t expose this in the public API for custom plugins in SonarJava. However we can reconsider that if the use case is good. Can you elaborate bit more what is your intention? Can’t the same be achieved by simply associating the projects with quality profile tailored to them?