public class AnalyticsUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NULL_UUID |
static Map<String,String> |
SUPPORTED_REPOSITORIES_KEYS_TO_TYPE |
Constructor and Description |
---|
AnalyticsUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
anonymizeFreeText(String value)
Creates UUID from given string.
|
static Object |
mapToBooleanIfApplicable(String value)
Maps a plain string value to a corresponding Boolean so plugin analytics won't filter it out, e.g.
|
public static final String NULL_UUID
@Nullable @Contract(value="null -> null; !null -> !null") public static Object mapToBooleanIfApplicable(@Nullable String value)
Boolean.TRUE
.Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.