aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-06 13:56:31 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-06 13:57:46 +0200
commit0ddae3998e34e24c5877b784332085a81a1ebe7e (patch)
tree7cba8d057137227df69d4512d017d7165fb39181 /sonar-plugin-api
parent966ceab8329ba91c481c25deae55d7cf8266ee3d (diff)
downloadsonarqube-0ddae3998e34e24c5877b784332085a81a1ebe7e.tar.gz
sonarqube-0ddae3998e34e24c5877b784332085a81a1ebe7e.zip
SONAR-6717 Mark org.sonar.api.issue.action.Action as deprecated
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Action.java7
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Actions.java10
2 files changed, 6 insertions, 11 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Action.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Action.java
index b7d967aa35d..4a7254cfabe 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Action.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Action.java
@@ -19,21 +19,20 @@
*/
package org.sonar.api.issue.action;
-import com.google.common.annotations.Beta;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.google.common.collect.ImmutableList;
+import java.util.List;
import org.sonar.api.issue.Issue;
import org.sonar.api.issue.condition.Condition;
-import java.util.List;
-
import static com.google.common.collect.Lists.newArrayList;
/**
* @since 3.6
+ * @deprecated in 5.2. Webapp can not be customized anymore to define actions on issues.
*/
-@Beta
+@Deprecated
public class Action {
private final String key;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Actions.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Actions.java
index 864b537f82a..3386cd33cf9 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Actions.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Actions.java
@@ -19,19 +19,16 @@
*/
package org.sonar.api.issue.action;
-import com.google.common.annotations.Beta;
-import org.sonar.api.ExtensionPoint;
-import org.sonar.api.server.ServerSide;
-
import java.util.ArrayList;
import java.util.List;
+import org.sonar.api.server.ServerSide;
/**
* @since 3.6
+ * @deprecated in 5.2. Webapp can not be customized anymore to define actions on issues.
*/
-@Beta
+@Deprecated
@ServerSide
-@ExtensionPoint
public class Actions {
private final List<Action> actions = new ArrayList<>();
@@ -46,5 +43,4 @@ public class Actions {
return actions;
}
-
}