Class ConfluenceAlertPublisher
- java.lang.Object
-
- com.atlassian.confluence.internal.diagnostics.ConfluenceAlertPublisher
-
- All Implemented Interfaces:
com.atlassian.diagnostics.internal.AlertPublisher
public class ConfluenceAlertPublisher extends Object implements com.atlassian.diagnostics.internal.AlertPublisher
- Since:
- 6.10
-
-
Constructor Summary
Constructors Constructor Description ConfluenceAlertPublisher(com.atlassian.diagnostics.internal.PluginHelper pluginHelper, com.atlassian.diagnostics.internal.dao.AlertEntityDao alertEntityDao, Executor confluenceExecutor, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
publish(@NonNull com.atlassian.diagnostics.Alert alert)
@NonNull String
subscribe(@NonNull com.atlassian.diagnostics.AlertListener alertListener)
boolean
unsubscribe(@NonNull String subscriptionId)
-
-
-
Constructor Detail
-
ConfluenceAlertPublisher
public ConfluenceAlertPublisher(com.atlassian.diagnostics.internal.PluginHelper pluginHelper, com.atlassian.diagnostics.internal.dao.AlertEntityDao alertEntityDao, Executor confluenceExecutor, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
-
-
Method Detail
-
publish
public void publish(@NonNull com.atlassian.diagnostics.Alert alert)
- Specified by:
publish
in interfacecom.atlassian.diagnostics.internal.AlertPublisher
-
subscribe
public @NonNull String subscribe(@NonNull com.atlassian.diagnostics.AlertListener alertListener)
- Specified by:
subscribe
in interfacecom.atlassian.diagnostics.internal.AlertPublisher
-
unsubscribe
public boolean unsubscribe(@NonNull String subscriptionId)
- Specified by:
unsubscribe
in interfacecom.atlassian.diagnostics.internal.AlertPublisher
-
-