Class DefaultHealthCheckAnalyticsEventFactory
- java.lang.Object
-
- com.atlassian.confluence.impl.health.analytics.DefaultHealthCheckAnalyticsEventFactory
-
- All Implemented Interfaces:
HealthCheckAnalyticsEventFactory
@ParametersAreNonnullByDefault public class DefaultHealthCheckAnalyticsEventFactory extends Object implements HealthCheckAnalyticsEventFactory
- Since:
- 6.6.0
-
-
Constructor Summary
Constructors Constructor Description DefaultHealthCheckAnalyticsEventFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull HealthCheckAnalyticsEventforHealthCheckResult(com.atlassian.johnson.event.Event johnsonEvent)Creates an analytics event from the given Johnson event arising from a health check result.@NonNull HealthCheckAnalyticsEventforJohnsonHelpLinkClicked(com.atlassian.johnson.event.Event johnsonEvent)Creates an analytics event from the user clicking on the help link for the given Johnson event.
-
-
-
Method Detail
-
forHealthCheckResult
public @NonNull HealthCheckAnalyticsEvent forHealthCheckResult(com.atlassian.johnson.event.Event johnsonEvent)
Description copied from interface:HealthCheckAnalyticsEventFactoryCreates an analytics event from the given Johnson event arising from a health check result.- Specified by:
forHealthCheckResultin interfaceHealthCheckAnalyticsEventFactory- Parameters:
johnsonEvent- the Johnson event- Returns:
- see above
-
forJohnsonHelpLinkClicked
public @NonNull HealthCheckAnalyticsEvent forJohnsonHelpLinkClicked(com.atlassian.johnson.event.Event johnsonEvent)
Description copied from interface:HealthCheckAnalyticsEventFactoryCreates an analytics event from the user clicking on the help link for the given Johnson event.- Specified by:
forJohnsonHelpLinkClickedin interfaceHealthCheckAnalyticsEventFactory- Parameters:
johnsonEvent- the Johnson event- Returns:
- see above
-
-