diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2019-04-05 14:03:41 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-04-23 10:37:55 +0200 |
commit | 2999da95bd062e0372b87e3ac21e82d0f4c6808c (patch) | |
tree | 6bd7fd59d015836f0dec708a1a4f0a622f151b49 /sonar-plugin-api/src | |
parent | 592c6dbcca610db0fb1a217fd580d493fe13cc95 (diff) | |
download | sonarqube-2999da95bd062e0372b87e3ac21e82d0f4c6808c.tar.gz sonarqube-2999da95bd062e0372b87e3ac21e82d0f4c6808c.zip |
SONAR-11906 Deprecate Notification plugin API
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/notifications/Notification.java | 2 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationChannel.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/notifications/Notification.java b/sonar-plugin-api/src/main/java/org/sonar/api/notifications/Notification.java index 4445c2844c5..5689c8511ca 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/notifications/Notification.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/notifications/Notification.java @@ -35,7 +35,9 @@ import javax.annotation.Nullable; * * * @since 2.10 + * @deprecated in 7.8. See {@link NotificationChannel}. */ +@Deprecated public class Notification implements Serializable { private static final String DEFAULT_MESSAGE_KEY = "default_message"; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationChannel.java b/sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationChannel.java index 057db7ac563..0deacc2a8f1 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationChannel.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationChannel.java @@ -35,10 +35,12 @@ import org.sonar.api.server.ServerSide; * </ul> * * @since 2.10 + * @deprecated in 7.8. This API is not usable, incomplete and suffers from significant performance hotspots. */ @ServerSide @ComputeEngineSide @ExtensionPoint +@Deprecated public abstract class NotificationChannel { /** |