@ParametersAreNonnullByDefault public class HealthCheckAnalyticsEvent extends Object
Constructor and Description |
---|
HealthCheckAnalyticsEvent(String checkId,
String startupMode,
String eventId,
String eventLevel,
String cause,
URL kbURL)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCause() |
String |
getCheckId() |
String |
getEventId() |
String |
getEventLevel() |
String |
getKbURL() |
String |
getProductRunId() |
String |
getStartupMode() |
static 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 event@Nonnull public static 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()
Copyright © 2003–2017 Atlassian. All rights reserved.