Class NoOpHealthCheckAnalyticsSender
java.lang.Object
com.atlassian.confluence.impl.health.analytics.NoOpHealthCheckAnalyticsSender
- All Implemented Interfaces:
HealthCheckAnalyticsSender
@ParametersAreNonnullByDefault
public class NoOpHealthCheckAnalyticsSender
extends Object
implements HealthCheckAnalyticsSender
A fallback for when we are unable to send analytics, either because the required components
aren't available or because we can't tell whether the product is allowed to send analytics events.
- Since:
- 6.6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendGeneralHelpLinkClicked(String kbUrl) Sends an analytics event to indicate that the user clicked the given non-event-specific knowledge base link on the Johnson page.voidsendHealthCheckResult(com.atlassian.johnson.event.Event johnsonEvent) If analytics are available, sends an analytics event relating to the given Johnson event.voidsendHelpLinkClickedForEvent(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.
-
Constructor Details
-
NoOpHealthCheckAnalyticsSender
public NoOpHealthCheckAnalyticsSender()
-
-
Method Details
-
sendHealthCheckResult
public void sendHealthCheckResult(com.atlassian.johnson.event.Event johnsonEvent) Description copied from interface:HealthCheckAnalyticsSenderIf analytics are available, sends an analytics event relating to the given Johnson event.- Specified by:
sendHealthCheckResultin interfaceHealthCheckAnalyticsSender- Parameters:
johnsonEvent- the Johnson event
-
sendHelpLinkClickedForEvent
Description copied from interface:HealthCheckAnalyticsSenderSends an analytics event to indicate that the user (typically an admin) clicked a help link for a health check result on the Johnson page.- Specified by:
sendHelpLinkClickedForEventin interfaceHealthCheckAnalyticsSender- Parameters:
eventId- the unique ID of the Johnson event for which the user clicked the help link
-
sendGeneralHelpLinkClicked
Description copied from interface:HealthCheckAnalyticsSenderSends an analytics event to indicate that the user clicked the given non-event-specific knowledge base link on the Johnson page.- Specified by:
sendGeneralHelpLinkClickedin interfaceHealthCheckAnalyticsSender
-