Package com.atlassian.bamboo.vcs
Class AnalyticsUtils
- java.lang.Object
-
- com.atlassian.bamboo.vcs.AnalyticsUtils
-
public class AnalyticsUtils extends Object
Utils related to Analytic events
-
-
Constructor Summary
Constructors Constructor Description AnalyticsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull String
anonymizeFreeText(@Nullable String value)
Creates UUID from given string.static @Nullable Object
mapToBooleanIfApplicable(@Nullable String value)
Maps a plain string value to a corresponding Boolean so plugin analytics won't filter it out, e.g.
-
-
-
Method Detail
-
mapToBooleanIfApplicable
@Nullable @Contract("null -> null; !null -> !null") public static @Nullable Object mapToBooleanIfApplicable(@Nullable @Nullable String value)
Maps a plain string value to a corresponding Boolean so plugin analytics won't filter it out, e.g. String 'true' is parsedBoolean.TRUE
.
-
-