diff options
author | David Gageot <david@gageot.net> | 2012-09-24 15:26:55 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-09-24 15:27:04 +0200 |
commit | a785cf6473a120423908d076a6c43a584d6b1a03 (patch) | |
tree | 30f49f0f7d075abe19624aaf1894c3d0a19b837e /sonar-server | |
parent | 186c158abed49d4413673332cd1892e296eabe2e (diff) | |
download | sonarqube-a785cf6473a120423908d076a6c43a584d6b1a03.tar.gz sonarqube-a785cf6473a120423908d076a6c43a584d6b1a03.zip |
SONAR-3529 API: ability to define property sets. Fix server startup
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java b/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java index 263bf563112..85f177aaec9 100644 --- a/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java +++ b/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java @@ -23,9 +23,7 @@ import com.google.common.collect.ListMultimap; import com.google.common.collect.Lists; import org.slf4j.LoggerFactory; import org.sonar.api.CoreProperties; -import org.sonar.api.config.License; -import org.sonar.api.config.PropertyDefinitions; -import org.sonar.api.config.Settings; +import org.sonar.api.config.*; import org.sonar.api.platform.ComponentContainer; import org.sonar.api.platform.NewUserHandler; import org.sonar.api.platform.PluginMetadata; @@ -510,4 +508,8 @@ public final class JRubyFacade { .build()); } } + + public List<PropertySet> listPropertySets() { + return get(PropertySetDefinitions.class).findAll(); + } } |