diff options
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java index 18c4f94781e..1dc5e9145e5 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java @@ -53,4 +53,11 @@ public interface Language { */ String[] getFileSuffixes(); + /** + * Whether all files identified with this language should be sent to SonarQube, even if no data is reported for them + * @since 9.3 + */ + default boolean publishAllFiles() { + return true; + } } |