diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-24 10:04:32 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-24 10:04:32 +0200 |
commit | 0799eeb86215bbf62dddf049ee8a958cf9fa58d0 (patch) | |
tree | c52045f21b0477be323dc87a7b4649854a90bf74 | |
parent | fc23f36c74c64eceb85f8baae8b2a0fcef293a1a (diff) | |
download | sonarqube-0799eeb86215bbf62dddf049ee8a958cf9fa58d0.tar.gz sonarqube-0799eeb86215bbf62dddf049ee8a958cf9fa58d0.zip |
Annotate issue action API with @Beta
9 files changed, 18 insertions, 0 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 3f1c50fc3b0..f41b7c2281c 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,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; 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 58522414816..5cff1fdf2ce 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,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; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java index a213670ec47..bb05759d789 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/action/Function.java @@ -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); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/Condition.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/Condition.java index 7c836b9e2b5..1e71b4ff366 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/Condition.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/Condition.java @@ -19,11 +19,13 @@ */ 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); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasIssuePropertyCondition.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasIssuePropertyCondition.java index cb99f21d8e3..ffbdd84ee70 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasIssuePropertyCondition.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasIssuePropertyCondition.java @@ -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; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasResolution.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasResolution.java index 8e821d2c952..857e8292e95 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasResolution.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasResolution.java @@ -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; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasStatus.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasStatus.java index 4a03cf1d9e0..58051b8cabc 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasStatus.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/HasStatus.java @@ -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; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/IsUnResolved.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/IsUnResolved.java index ed181fb8290..da53ad84d88 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/IsUnResolved.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/IsUnResolved.java @@ -19,11 +19,13 @@ */ 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 diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/NotCondition.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/NotCondition.java index 5829a7427f8..92500442e97 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/NotCondition.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/condition/NotCondition.java @@ -19,11 +19,13 @@ */ 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; |