Class ConfluenceAlertPublisher

  • All Implemented Interfaces:
    com.atlassian.diagnostics.internal.AlertPublisher

    public class ConfluenceAlertPublisher
    extends Object
    implements com.atlassian.diagnostics.internal.AlertPublisher
    Since:
    6.10
    • 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 interface com.atlassian.diagnostics.internal.AlertPublisher
      • subscribe

        public @NonNull String subscribe​(@NonNull com.atlassian.diagnostics.AlertListener alertListener)
        Specified by:
        subscribe in interface com.atlassian.diagnostics.internal.AlertPublisher
      • unsubscribe

        public boolean unsubscribe​(@NonNull String subscriptionId)
        Specified by:
        unsubscribe in interface com.atlassian.diagnostics.internal.AlertPublisher