]> source.dussan.org Git - sonarqube.git/commitdiff
Annotate issue action API with @Beta
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 24 Jun 2013 08:04:32 +0000 (10:04 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 24 Jun 2013 08:20:30 +0000 (10:20 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Action.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Actions.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/Condition.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasIssuePropertyCondition.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasResolution.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasStatus.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/IsUnResolved.java
sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/NotCondition.java

index 3f1c50fc3b0f9f45ef646fe4e3b23b885c7673b0..f41b7c2281c24eb6dffb39cbd04ced3072a843f5 100644 (file)
@@ -19,6 +19,7 @@
  */
 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;
@@ -32,6 +33,7 @@ import static com.google.common.collect.Lists.newArrayList;
 /**
  * @since 3.6
  */
+@Beta
 public class Action {
 
   private final String key;
index 585224148167e9d6b121f22acf1cb59795285fe7..5cff1fdf2ced391da8e4c94ff0adf0ad305af828 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonar.api.issue.action;
 
+import com.google.common.annotations.Beta;
 import org.sonar.api.ServerExtension;
 
 import java.util.List;
@@ -28,6 +29,7 @@ import static com.google.common.collect.Lists.newArrayList;
 /**
  * @since 3.6
  */
+@Beta
 public class Actions implements ServerExtension {
 
   private final List<Action> actions;
index a213670ec4775c67a6b04d743127a9dfc9291934..bb05759d789a45690e8dabef7493b3e8999120e8 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonar.api.issue.action;
 
+import com.google.common.annotations.Beta;
 import org.sonar.api.config.Settings;
 import org.sonar.api.issue.Issue;
 
@@ -27,6 +28,7 @@ import javax.annotation.Nullable;
 /**
  * @since 3.6
  */
+@Beta
 public interface Function {
 
   void execute(Context context);
index 7c836b9e2b544ab0dff3f44fc371c7879c5d3c67..1e71b4ff366feb753e50ce76419d963f4941c25b 100644 (file)
  */
 package org.sonar.api.issue.condition;
 
+import com.google.common.annotations.Beta;
 import org.sonar.api.issue.Issue;
 
 /**
  * @since 3.6
  */
+@Beta
 public interface Condition {
 
   boolean matches(Issue issue);
index cb99f21d8e3f72716a24c2668213b9f4b9d02e2e..ffbdd84ee70b49cd7b5a009900d1e805ecec761a 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonar.api.issue.condition;
 
+import com.google.common.annotations.Beta;
 import com.google.common.base.Preconditions;
 import com.google.common.base.Strings;
 import org.sonar.api.issue.Issue;
@@ -26,6 +27,7 @@ import org.sonar.api.issue.Issue;
 /**
  * @since 3.6
  */
+@Beta
 public final class HasIssuePropertyCondition implements Condition {
 
   private final String propertyKey;
index 8e821d2c952902e0b592c5165e48cfcc26a05026..857e8292e953543bb7be9a625897be324d612c1e 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonar.api.issue.condition;
 
+import com.google.common.annotations.Beta;
 import com.google.common.collect.ImmutableSet;
 import org.sonar.api.issue.Issue;
 
@@ -27,6 +28,7 @@ import java.util.Set;
 /**
  * @since 3.6
  */
+@Beta
 public class HasResolution implements Condition {
 
   private final Set<String> resolutions;
index 4a03cf1d9e0cf488abe9210b20f32f2d3a10b165..58051b8cabcaa968e9513eb6bf3557810bc11dff 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonar.api.issue.condition;
 
+import com.google.common.annotations.Beta;
 import com.google.common.collect.ImmutableSet;
 import org.sonar.api.issue.Issue;
 
@@ -27,6 +28,7 @@ import java.util.Set;
 /**
  * @since 3.6
  */
+@Beta
 public class HasStatus implements Condition {
 
   private final Set<String> status;
index ed181fb82907b8f00ae98c8709bb1da44369ecc2..da53ad84d881998300b32c506d361b39e3428526 100644 (file)
  */
 package org.sonar.api.issue.condition;
 
+import com.google.common.annotations.Beta;
 import org.sonar.api.issue.Issue;
 
 /**
  * @since 3.6
  */
+@Beta
 public class IsUnResolved implements Condition {
 
   @Override
index 5829a7427f8da23584c8ef26091743eb30139012..92500442e971f2dfa629c656bba2239b816dfc07 100644 (file)
  */
 package org.sonar.api.issue.condition;
 
+import com.google.common.annotations.Beta;
 import org.sonar.api.issue.Issue;
 
 /**
  * @since 3.6
  */
+@Beta
 public class NotCondition implements Condition {
   private final Condition condition;