aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-05-31 12:28:00 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-05-31 12:28:00 +0200
commit03d09a44e949a348b98ef8c45ad20c0bf5d9aadd (patch)
tree9c69eebcc39c816aa716a2d7a3b93004d52cacef /sonar-plugin-api/src
parentaf7068a7ab88aefb32174d929669fbd23145c3bf (diff)
downloadsonarqube-03d09a44e949a348b98ef8c45ad20c0bf5d9aadd.tar.gz
sonarqube-03d09a44e949a348b98ef8c45ad20c0bf5d9aadd.zip
SONAR-4301 Load componentRoot, assignee and reporter from db instead of getting it from issues results
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/component/RubyComponentService.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/component/RubyComponentService.java b/sonar-plugin-api/src/main/java/org/sonar/api/component/RubyComponentService.java
new file mode 100644
index 00000000000..b110cce19e0
--- /dev/null
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/component/RubyComponentService.java
@@ -0,0 +1,34 @@
+/*
+ * SonarQube, open source software quality management tool.
+ * Copyright (C) 2008-2013 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * SonarQube is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * SonarQube is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+package org.sonar.api.component;
+
+import org.sonar.api.ServerComponent;
+
+import javax.annotation.CheckForNull;
+
+/**
+ * @since 3.6
+ */
+public interface RubyComponentService extends ServerComponent {
+
+ @CheckForNull
+ Component findByKey(String key);
+
+}