Interface HealthCheckAnalyticsEventFactory
- All Known Implementing Classes:
DefaultHealthCheckAnalyticsEventFactory
@ParametersAreNonnullByDefault
public interface HealthCheckAnalyticsEventFactory
Factory for analytics events arising from health checks.
- Since:
- 6.6.0
-
Method Summary
Modifier and TypeMethodDescription@NonNull HealthCheckAnalyticsEvent
forHealthCheckResult
(com.atlassian.johnson.event.Event johnsonEvent) Creates an analytics event from the given Johnson event arising from a health check result.@NonNull HealthCheckAnalyticsEvent
forJohnsonHelpLinkClicked
(com.atlassian.johnson.event.Event johnsonEvent) Creates an analytics event from the user clicking on the help link for the given Johnson event.
-
Method Details
-
forHealthCheckResult
@NonNull HealthCheckAnalyticsEvent forHealthCheckResult(com.atlassian.johnson.event.Event johnsonEvent) Creates an analytics event from the given Johnson event arising from a health check result.- Parameters:
johnsonEvent
- the Johnson event- Returns:
- see above
-
forJohnsonHelpLinkClicked
@NonNull HealthCheckAnalyticsEvent forJohnsonHelpLinkClicked(com.atlassian.johnson.event.Event johnsonEvent) Creates an analytics event from the user clicking on the help link for the given Johnson event.- Parameters:
johnsonEvent
- the Johnson event- Returns:
- see above
-