@ParametersAreNonnullByDefault public class EventPublishingHealthCheckAnalyticsSender extends Object implements HealthCheckAnalyticsSender
EventPublisher.| Constructor and Description |
|---|
EventPublishingHealthCheckAnalyticsSender(HealthCheckAnalyticsEventFactory analyticsEventFactory,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendGeneralHelpLinkClicked(String kbURL)
Sends an analytics event to indicate that the user clicked the given non-event-specific
knowledge base link on the Johnson page.
|
void |
sendHealthCheckResult(com.atlassian.johnson.event.Event johnsonEvent)
If analytics are available, sends an analytics event relating to the given Johnson event.
|
void |
sendHelpLinkClickedForEvent(String eventId)
Sends an analytics event to indicate that the user (typically an admin)
clicked a help link for a health check result on the Johnson page.
|
public EventPublishingHealthCheckAnalyticsSender(HealthCheckAnalyticsEventFactory analyticsEventFactory, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer)
public void sendHealthCheckResult(com.atlassian.johnson.event.Event johnsonEvent)
HealthCheckAnalyticsSendersendHealthCheckResult in interface HealthCheckAnalyticsSenderjohnsonEvent - the Johnson eventpublic void sendHelpLinkClickedForEvent(String eventId)
HealthCheckAnalyticsSendersendHelpLinkClickedForEvent in interface HealthCheckAnalyticsSendereventId - the unique ID of the Johnson event for which the user clicked the help linkpublic void sendGeneralHelpLinkClicked(String kbURL)
HealthCheckAnalyticsSendersendGeneralHelpLinkClicked in interface HealthCheckAnalyticsSenderCopyright © 2003–2022 Atlassian. All rights reserved.