diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-13 15:35:13 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-13 15:35:22 +0200 |
commit | f77e302dde33cd34ade4311e36c03aa898c61669 (patch) | |
tree | 3fdf3fe13561955001384cb61d0cdf484d9bb63b | |
parent | 30938a6522f09c9a6c79cf7e3d3ffdc985924130 (diff) | |
download | sonarqube-f77e302dde33cd34ade4311e36c03aa898c61669.tar.gz sonarqube-f77e302dde33cd34ade4311e36c03aa898c61669.zip |
SONAR-7582 make beta Compute Engine API public
no more @beta APIs in 5.6 for compute engine
6 files changed, 1 insertions, 24 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java index bf52b77f37c..fdcb0c1a682 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/ComputeEngineSide.java @@ -19,7 +19,6 @@ */ package org.sonar.api.ce; -import com.google.common.annotations.Beta; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; @@ -35,6 +34,5 @@ import org.sonar.api.batch.BatchSide; @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) -@Beta public @interface ComputeEngineSide { } diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/CeTask.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/CeTask.java index 5707c1b858a..74d85de2ef0 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/CeTask.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/CeTask.java @@ -19,12 +19,9 @@ */ package org.sonar.api.ce.posttask; -import com.google.common.annotations.Beta; - /** * @since 5.5 */ -@Beta public interface CeTask { /** * Id of the Compute Engine task. diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java index 6f0473141c9..b33da79e6f1 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java @@ -19,7 +19,6 @@ */ package org.sonar.api.ce.posttask; -import com.google.common.annotations.Beta; import java.util.Date; import javax.annotation.CheckForNull; import org.sonar.api.ExtensionPoint; @@ -42,7 +41,6 @@ import org.sonar.api.ce.ComputeEngineSide; */ @ExtensionPoint @ComputeEngineSide -@Beta public interface PostProjectAnalysisTask { /** * This method is called whenever the processing of a Project analysis has finished, whether successfully or not. @@ -52,7 +50,6 @@ public interface PostProjectAnalysisTask { /** * @since 5.5 */ - @Beta interface ProjectAnalysis { /** * Details of the Compute Engine task in which the project analysis was run. diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java index 218247b433c..39ae7776f98 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTaskTester.java @@ -19,7 +19,6 @@ */ package org.sonar.api.ce.posttask; -import com.google.common.annotations.Beta; import java.util.ArrayList; import java.util.Collection; import java.util.Date; @@ -89,7 +88,6 @@ import static java.util.Objects.requireNonNull; * * @since 5.5 */ -@Beta public class PostProjectAnalysisTaskTester { private static final String DATE_CAN_NOT_BE_NULL = "date cannot be null"; private static final String PROJECT_CAN_NOT_BE_NULL = "project cannot be null"; @@ -190,7 +188,6 @@ public class PostProjectAnalysisTaskTester { } - @Beta public static final class CeTaskBuilder { private static final String ID_CAN_NOT_BE_NULL = "id cannot be null"; @@ -238,7 +235,6 @@ public class PostProjectAnalysisTaskTester { } } - @Beta public static final class ProjectBuilder { private static final String UUID_CAN_NOT_BE_NULL = "uuid cannot be null"; private static final String KEY_CAN_NOT_BE_NULL = "key cannot be null"; @@ -299,7 +295,6 @@ public class PostProjectAnalysisTaskTester { } } - @Beta public static final class QualityGateBuilder { private static final String ID_CAN_NOT_BE_NULL = "id cannot be null"; private static final String NAME_CAN_NOT_BE_NULL = "name cannot be null"; @@ -377,7 +372,6 @@ public class PostProjectAnalysisTaskTester { } } - @Beta public static final class ConditionBuilder { private static final String METRIC_KEY_CAN_NOT_BE_NULL = "metricKey cannot be null"; private static final String OPERATOR_CAN_NOT_BE_NULL = "operator cannot be null"; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/Project.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/Project.java index 19a50cc3d7b..47065821809 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/Project.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/Project.java @@ -19,12 +19,9 @@ */ package org.sonar.api.ce.posttask; -import com.google.common.annotations.Beta; - /** * @since 5.5 */ -@Beta public interface Project { String getUuid(); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/QualityGate.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/QualityGate.java index a31fb04be27..b2bb973d675 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/QualityGate.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/QualityGate.java @@ -19,7 +19,6 @@ */ package org.sonar.api.ce.posttask; -import com.google.common.annotations.Beta; import java.util.Collection; import javax.annotation.CheckForNull; import org.sonar.api.measures.Metric; @@ -27,7 +26,6 @@ import org.sonar.api.measures.Metric; /** * @since 5.5 */ -@Beta public interface QualityGate { /** * The unique identifier of the Quality Gate. @@ -49,7 +47,6 @@ public interface QualityGate { */ Collection<Condition> getConditions(); - @Beta enum Status { /** at least one threshold is defined, no threshold is reached */ OK, @@ -59,7 +56,6 @@ public interface QualityGate { ERROR } - @Beta interface Condition { /** * Evaluation status of this condition @@ -120,13 +116,12 @@ public interface QualityGate { * @see Metric#getType() */ String getValue(); - + } /** * Quality Gate condition operator. */ - @Beta enum Operator { EQUALS, NOT_EQUALS, GREATER_THAN, LESS_THAN } @@ -134,7 +129,6 @@ public interface QualityGate { /** * Quality gate condition evaluation status. */ - @Beta enum EvaluationStatus { /** * No measure found or measure had no value. The condition has not been evaluated and therefor ignored in |