aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org/sonar/api/task
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-01-18 15:40:58 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2013-01-18 15:43:09 +0100
commit8133a2c491d5d59c35af8a7d55dba506ade3c8fa (patch)
tree690cf0ee617614579848576c154b19620afaf4db /sonar-plugin-api/src/main/java/org/sonar/api/task
parent5ab69aedad1e97e6339bb313e1e50bbfb6f872c7 (diff)
downloadsonarqube-8133a2c491d5d59c35af8a7d55dba506ade3c8fa.tar.gz
sonarqube-8133a2c491d5d59c35af8a7d55dba506ade3c8fa.zip
SONAR-4069 Refactoring of Task extension
* @RequiresProject is no more in API * Simplify TaskModule
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/task')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/task/RequiresProject.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/task/RequiresProject.java b/sonar-plugin-api/src/main/java/org/sonar/api/task/RequiresProject.java
deleted file mode 100644
index 23f1e52645e..00000000000
--- a/sonar-plugin-api/src/main/java/org/sonar/api/task/RequiresProject.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar 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.
- *
- * Sonar 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 Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
- */
-package org.sonar.api.task;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * The presence of this annotation on a task extension class indicates that the extension
- * will be disabled when there is no project available.
- *
- * @since 3.5
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.TYPE)
-public @interface RequiresProject {
-}