aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-03-24 18:27:47 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-25 15:02:45 +0100
commita14e9357d2acc4a320ca279f6e5e6aab4f6dbeb2 (patch)
tree14873861cfb92dbdb21d9dec4273daf8436e3adc /sonar-plugin-api
parentd4f696ab1e013f3d305b7cb978d65a3ee0937149 (diff)
downloadsonarqube-a14e9357d2acc4a320ca279f6e5e6aab4f6dbeb2.tar.gz
sonarqube-a14e9357d2acc4a320ca279f6e5e6aab4f6dbeb2.zip
SONAR-7467 Drop/deprecate action plan API
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/ActionPlan.java58
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java4
2 files changed, 4 insertions, 58 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/ActionPlan.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/ActionPlan.java
deleted file mode 100644
index b1db0c01563..00000000000
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/ActionPlan.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
- *
- * This program 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.
- *
- * This program 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.issue;
-
-import javax.annotation.CheckForNull;
-
-import java.io.Serializable;
-import java.util.Date;
-
-/**
- * @since 3.6
- */
-public interface ActionPlan extends Serializable {
-
- String STATUS_OPEN = "OPEN";
- String STATUS_CLOSED = "CLOSED";
-
- /**
- * Unique generated key
- */
- String key();
-
- String name();
-
- String projectKey();
-
- @CheckForNull
- String description();
-
- String userLogin();
-
- String status();
-
- @CheckForNull
- Date deadLine() ;
-
- Date createdAt();
-
- Date updatedAt();
-
-}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
index 539ad85feef..ce99e1d3c25 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
@@ -176,6 +176,10 @@ public interface Issue extends Serializable {
@CheckForNull
String authorLogin();
+ /**
+ * @deprecated since 5.5 Action plans are dropped in 5.5. This field has no effect
+ */
+ @Deprecated
@CheckForNull
String actionPlanKey();