@ParametersAreNonnullByDefault public class HealthCheckAnalyticsEvent extends Object
Constructor and Description |
---|
HealthCheckAnalyticsEvent(String checkId,
String startupMode,
String eventId,
String eventLevel,
String cause,
@Nullable URL kbURL)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCause() |
String |
getCheckId() |
String |
getEventId() |
String |
getEventLevel() |
@Nullable String |
getKbURL() |
String |
getProductRunId() |
String |
getStartupMode() |
static @NonNull String |
sanitise(String text)
Converts the given arbitrary text into a sanitised analytics attribute value.
|
public HealthCheckAnalyticsEvent(String checkId, String startupMode, String eventId, String eventLevel, String cause, @Nullable URL kbURL)
checkId
- the unique ID of the check that raised this eventstartupMode
- the mode in which Confluence started upeventId
- the unique ID of this analytics eventeventLevel
- the event levelcause
- the cause of the eventkbURL
- the URL clicked by the user; if null
, this is not a KB clicked eventpublic static @NonNull String sanitise(String text)
text
- the text to sanitisepublic String getProductRunId()
public String getCheckId()
public String getCause()
public String getEventId()
public String getEventLevel()
public String getStartupMode()
public @Nullable String getKbURL()
Copyright © 2003–2021 Atlassian. All rights reserved.