diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-21 12:31:23 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-21 12:31:23 +0100 |
commit | 47f803be07c81dac2396f364deca15a2bb1fa7e8 (patch) | |
tree | 95a94de509eeb0def2aa3d17e03f88becb002f7d /sonar-server/src/main/java | |
parent | b27c50696631e0b9d4183a576e7c9783d5084ad7 (diff) | |
download | sonarqube-47f803be07c81dac2396f364deca15a2bb1fa7e8.tar.gz sonarqube-47f803be07c81dac2396f364deca15a2bb1fa7e8.zip |
Add ResourceDefinition#hasSourceCode
Diffstat (limited to 'sonar-server/src/main/java')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/ui/ResourceDefinitionRepository.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/ui/ResourceDefinitionRepository.java b/sonar-server/src/main/java/org/sonar/server/ui/ResourceDefinitionRepository.java index 4ef8b9d62d0..8f79ca0b526 100644 --- a/sonar-server/src/main/java/org/sonar/server/ui/ResourceDefinitionRepository.java +++ b/sonar-server/src/main/java/org/sonar/server/ui/ResourceDefinitionRepository.java @@ -19,17 +19,23 @@ */ package org.sonar.server.ui; +import com.google.common.annotations.Beta; import com.google.common.base.Predicate; import com.google.common.collect.Collections2; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; +import org.sonar.api.BatchComponent; import org.sonar.api.ServerComponent; import org.sonar.api.resources.ResourceDefinition; import java.util.Collection; import java.util.Map; -public class ResourceDefinitionRepository implements ServerComponent { +/** + * @since 2.14 + */ +@Beta +public class ResourceDefinitionRepository implements BatchComponent, ServerComponent { private final Map<String, ResourceDefinition> descriptionsByQualifier; |