Package io.quarkus.analytics.dto.segment
Class ContextBuilder
- java.lang.Object
-
- io.quarkus.analytics.dto.segment.ContextBuilder
-
public class ContextBuilder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContextBuilder.CommonSystemPropertiesclassContextBuilder.MapValueBuilder
-
Field Summary
Fields Modifier and Type Field Description static StringPROP_APPstatic StringPROP_BUILDstatic StringPROP_CIstatic StringPROP_CI_NAMEstatic StringPROP_DETECTEDstatic StringPROP_GRAALVMstatic StringPROP_GRADLE_VERSIONstatic StringPROP_IPstatic StringPROP_JAVAstatic StringPROP_JAVA_VERSIONstatic StringPROP_KUBERNETESstatic StringPROP_LOCALE_COUNTRYstatic StringPROP_LOCATIONstatic StringPROP_MAVEN_VERSIONstatic StringPROP_NAMEstatic StringPROP_OSstatic StringPROP_OS_ARCHstatic StringPROP_QUARKUSstatic StringPROP_TIMEZONEstatic StringPROP_VENDORstatic StringPROP_VERSIONstatic StringVALUE_NULL_IPMust not track ips.
-
Constructor Summary
Constructors Constructor Description ContextBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>build()ContextBuilder.MapValueBuildermapPair(String key)ContextBuilderpair(String key, Object value)ContextBuilderpair(String key, String value)ContextBuilderpairs(Collection<AbstractMap.SimpleEntry<String,Object>> entries)
-
-
-
Field Detail
-
PROP_NAME
public static final String PROP_NAME
- See Also:
- Constant Field Values
-
PROP_VERSION
public static final String PROP_VERSION
- See Also:
- Constant Field Values
-
PROP_APP
public static final String PROP_APP
- See Also:
- Constant Field Values
-
PROP_IP
public static final String PROP_IP
- See Also:
- Constant Field Values
-
PROP_LOCALE_COUNTRY
public static final String PROP_LOCALE_COUNTRY
- See Also:
- Constant Field Values
-
PROP_LOCATION
public static final String PROP_LOCATION
- See Also:
- Constant Field Values
-
PROP_OS
public static final String PROP_OS
- See Also:
- Constant Field Values
-
PROP_OS_ARCH
public static final String PROP_OS_ARCH
- See Also:
- Constant Field Values
-
PROP_TIMEZONE
public static final String PROP_TIMEZONE
- See Also:
- Constant Field Values
-
VALUE_NULL_IP
public static final String VALUE_NULL_IP
Must not track ips. We don't want the server side to try to infer the IP if the field is not present in the payload. Sending invalid data is safer and makes sure it's really anonymous.- See Also:
- Constant Field Values
-
PROP_JAVA
public static final String PROP_JAVA
- See Also:
- Constant Field Values
-
PROP_VENDOR
public static final String PROP_VENDOR
- See Also:
- Constant Field Values
-
PROP_GRAALVM
public static final String PROP_GRAALVM
- See Also:
- Constant Field Values
-
PROP_JAVA_VERSION
public static final String PROP_JAVA_VERSION
- See Also:
- Constant Field Values
-
PROP_BUILD
public static final String PROP_BUILD
- See Also:
- Constant Field Values
-
PROP_MAVEN_VERSION
public static final String PROP_MAVEN_VERSION
- See Also:
- Constant Field Values
-
PROP_GRADLE_VERSION
public static final String PROP_GRADLE_VERSION
- See Also:
- Constant Field Values
-
PROP_QUARKUS
public static final String PROP_QUARKUS
- See Also:
- Constant Field Values
-
PROP_CI
public static final String PROP_CI
- See Also:
- Constant Field Values
-
PROP_CI_NAME
public static final String PROP_CI_NAME
- See Also:
- Constant Field Values
-
PROP_KUBERNETES
public static final String PROP_KUBERNETES
- See Also:
- Constant Field Values
-
PROP_DETECTED
public static final String PROP_DETECTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
pair
public ContextBuilder pair(String key, String value)
-
pair
public ContextBuilder pair(String key, Object value)
-
pairs
public ContextBuilder pairs(Collection<AbstractMap.SimpleEntry<String,Object>> entries)
-
mapPair
public ContextBuilder.MapValueBuilder mapPair(String key)
-
-