@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)
HealthCheckAnalyticsSender
sendHealthCheckResult
in interface HealthCheckAnalyticsSender
johnsonEvent
- the Johnson eventpublic void sendHelpLinkClickedForEvent(String eventId)
HealthCheckAnalyticsSender
sendHelpLinkClickedForEvent
in interface HealthCheckAnalyticsSender
eventId
- the unique ID of the Johnson event for which the user clicked the help linkpublic void sendGeneralHelpLinkClicked(String kbURL)
HealthCheckAnalyticsSender
sendGeneralHelpLinkClicked
in interface HealthCheckAnalyticsSender
Copyright © 2003–2020 Atlassian. All rights reserved.