diff options
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 { /** |