aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-02-27 16:00:40 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-02-27 16:00:40 +0100
commit8a204e97bd2694aee69cafebab9925d824e6886e (patch)
treea35332044ab6e19b5dcb13732291a696386b8831 /sonar-plugin-api
parentb0fe2aae234489d21be964a9e8a1ffd699be4fbb (diff)
downloadsonarqube-8a204e97bd2694aee69cafebab9925d824e6886e.tar.gz
sonarqube-8a204e97bd2694aee69cafebab9925d824e6886e.zip
Moved Languages in ModuleContainer
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/Language.java4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/Languages.java4
2 files changed, 4 insertions, 4 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 8b41ff61f10..8a025a32108 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
@@ -19,15 +19,15 @@
*/
package org.sonar.api.resources;
+import org.sonar.api.BatchExtension;
import org.sonar.api.ServerExtension;
-import org.sonar.api.task.TaskExtension;
/**
* The extension point to define a new language
*
* @since 1.10
*/
-public interface Language extends TaskExtension, ServerExtension {
+public interface Language extends BatchExtension, ServerExtension {
/**
* For example "java". Should not be more than 20 chars.
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Languages.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Languages.java
index 07a00f6a38c..55482c94812 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Languages.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Languages.java
@@ -21,8 +21,8 @@ package org.sonar.api.resources;
import com.google.common.collect.Maps;
import org.apache.commons.lang.ArrayUtils;
+import org.sonar.api.BatchComponent;
import org.sonar.api.ServerComponent;
-import org.sonar.api.task.TaskComponent;
import java.util.ArrayList;
import java.util.Arrays;
@@ -34,7 +34,7 @@ import java.util.Map;
*
* @since 1.10
*/
-public class Languages implements TaskComponent, ServerComponent {
+public class Languages implements BatchComponent, ServerComponent {
private final Map<String, Language> map = Maps.newHashMap();