public class ConfluenceAlertPublisher extends Object implements com.atlassian.diagnostics.internal.AlertPublisher
Constructor and Description |
---|
ConfluenceAlertPublisher(com.atlassian.diagnostics.internal.PluginHelper pluginHelper,
com.atlassian.diagnostics.internal.dao.AlertEntityDao alertEntityDao,
Executor confluenceExecutor,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
publish(@NonNull com.atlassian.diagnostics.Alert alert) |
@NonNull String |
subscribe(@NonNull com.atlassian.diagnostics.AlertListener alertListener) |
boolean |
unsubscribe(@NonNull String subscriptionId) |
public ConfluenceAlertPublisher(com.atlassian.diagnostics.internal.PluginHelper pluginHelper, com.atlassian.diagnostics.internal.dao.AlertEntityDao alertEntityDao, Executor confluenceExecutor, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
public void publish(@NonNull com.atlassian.diagnostics.Alert alert)
publish
in interface com.atlassian.diagnostics.internal.AlertPublisher
public @NonNull String subscribe(@NonNull com.atlassian.diagnostics.AlertListener alertListener)
subscribe
in interface com.atlassian.diagnostics.internal.AlertPublisher
public boolean unsubscribe(@NonNull String subscriptionId)
unsubscribe
in interface com.atlassian.diagnostics.internal.AlertPublisher
Copyright © 2003–2020 Atlassian. All rights reserved.