aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
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;
}
-
}