Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- alias(String, String) - Static method in class net.hollowcube.posthog.PostHog
-
Alias the given distinct ID to the given alias.
- alias(String, String) - Method in interface net.hollowcube.posthog.PostHogClient
-
Alias the given distinct ID to the given alias.
- allowRemoteEvaluation() - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Returns the value of the
allowRemoteEvaluationrecord component. - allowRemoteEvaluation(Boolean) - Method in class net.hollowcube.posthog.FeatureFlagContext.Builder
- allowRemoteFeatureFlagEvaluation(boolean) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- AUTO_CAPTURE - Static variable in class net.hollowcube.posthog.PostHogNames
B
- build() - Method in class net.hollowcube.posthog.FeatureFlagContext.Builder
- build() - Method in class net.hollowcube.posthog.PostHogClient.Builder
C
- capture(String, String) - Static method in class net.hollowcube.posthog.PostHog
-
Capture an event with the given name for the given distinct ID with no properties.
- capture(String, String) - Method in interface net.hollowcube.posthog.PostHogClient
-
Capture an event with the given name for the given distinct ID with no properties.
- capture(String, String, Object) - Static method in class net.hollowcube.posthog.PostHog
-
Capture an event with the given name for the given ID with properties from the given object.
- capture(String, String, Object) - Method in interface net.hollowcube.posthog.PostHogClient
-
Capture an event with the given name for the given ID with properties from the given object.
- capture(String, String, Object) - Method in class net.hollowcube.posthog.PostHogClientImpl
- capture(String, String, Map<String, Object>) - Static method in class net.hollowcube.posthog.PostHog
-
Capture an event with the given name for the given distinct ID with the provided properties.
- capture(String, String, Map<String, Object>) - Method in interface net.hollowcube.posthog.PostHogClient
-
Capture an event with the given name for the given distinct ID with the provided properties.
- captureException(Throwable) - Static method in class net.hollowcube.posthog.PostHog
- captureException(Throwable) - Method in interface net.hollowcube.posthog.PostHogClient
- captureException(Throwable, String) - Static method in class net.hollowcube.posthog.PostHog
- captureException(Throwable, String) - Method in interface net.hollowcube.posthog.PostHogClient
- captureException(Throwable, String, Map<String, Object>) - Static method in class net.hollowcube.posthog.PostHog
- captureException(Throwable, String, Map<String, Object>) - Method in interface net.hollowcube.posthog.PostHogClient
- captureException(Throwable, String, Object) - Static method in class net.hollowcube.posthog.PostHog
- captureException(Throwable, String, Object) - Method in interface net.hollowcube.posthog.PostHogClient
- captureException(Throwable, String, Object) - Method in class net.hollowcube.posthog.PostHogClientImpl
- CREATE_ALIAS - Static variable in class net.hollowcube.posthog.PostHogNames
D
- defaultEventProperties(Map<String, Object>) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- DISABLED - Static variable in class net.hollowcube.posthog.FeatureFlagState
E
- EMPTY - Static variable in record class net.hollowcube.posthog.FeatureFlagContext
- EMPTY - Static variable in class net.hollowcube.posthog.FeatureFlagStates
- ENABLED - Static variable in class net.hollowcube.posthog.FeatureFlagState
- endpoint(String) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- equals(Object) - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Indicates whether some other object is "equal to" this one.
- eventBatchTimeout(Duration) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- EXCEPTION - Static variable in class net.hollowcube.posthog.PostHogNames
- EXCEPTION_LIST - Static variable in class net.hollowcube.posthog.PostHogNames
- EXCEPTION_MESSAGE - Static variable in class net.hollowcube.posthog.PostHogNames
- EXCEPTION_PERSON_URL - Static variable in class net.hollowcube.posthog.PostHogNames
- EXCEPTION_TYPE - Static variable in class net.hollowcube.posthog.PostHogNames
F
- FEATURE_FLAG - Static variable in class net.hollowcube.posthog.PostHogNames
- FEATURE_FLAG_CALLED - Static variable in class net.hollowcube.posthog.PostHogNames
- FEATURE_FLAG_ERRORED - Static variable in class net.hollowcube.posthog.PostHogNames
- FEATURE_FLAG_RESPONSE - Static variable in class net.hollowcube.posthog.PostHogNames
- FeatureFlagContext - Record Class in net.hollowcube.posthog
- FeatureFlagContext(Object, Object, Map<String, Object>, Boolean, Boolean) - Constructor for record class net.hollowcube.posthog.FeatureFlagContext
-
Creates an instance of a
FeatureFlagContextrecord class. - FeatureFlagContext.Builder - Class in net.hollowcube.posthog
- featureFlagsPollingInterval(Duration) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- featureFlagsRequestTimeout(Duration) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- FeatureFlagState - Class in net.hollowcube.posthog
- FeatureFlagStates - Class in net.hollowcube.posthog
- flush() - Static method in class net.hollowcube.posthog.PostHog
-
Queue an immediate flush of the pending event queue.
- flush() - Method in interface net.hollowcube.posthog.PostHogClient
-
Queue an immediate flush of the pending event queue.
- flush() - Method in class net.hollowcube.posthog.PostHogClientImpl
- flushInterval(Duration) - Method in class net.hollowcube.posthog.PostHogClient.Builder
G
- get(String) - Method in class net.hollowcube.posthog.FeatureFlagStates
- getAllFeatureFlags(String) - Static method in class net.hollowcube.posthog.PostHog
-
Get all feature flags for the given distinct ID.
- getAllFeatureFlags(String) - Method in interface net.hollowcube.posthog.PostHogClient
-
Get all feature flags for the given distinct ID.
- getAllFeatureFlags(String, FeatureFlagContext) - Static method in class net.hollowcube.posthog.PostHog
-
Get all feature flags for the given distinct ID with extra context.
- getAllFeatureFlags(String, FeatureFlagContext) - Method in interface net.hollowcube.posthog.PostHogClient
-
Get all feature flags for the given distinct ID with extra context.
- getAllFeatureFlags(String, FeatureFlagContext) - Method in class net.hollowcube.posthog.PostHogClientImpl
- getClient() - Static method in class net.hollowcube.posthog.PostHog
- getFeatureFlag(String, String) - Static method in class net.hollowcube.posthog.PostHog
-
Get the feature flag state for the given distinct ID.
- getFeatureFlag(String, String) - Method in interface net.hollowcube.posthog.PostHogClient
-
Get the feature flag state for the given distinct ID.
- getFeatureFlag(String, String, FeatureFlagContext) - Static method in class net.hollowcube.posthog.PostHog
-
Get the feature flag state for the given distinct ID with extra context.
- getFeatureFlag(String, String, FeatureFlagContext) - Method in interface net.hollowcube.posthog.PostHogClient
-
Get the feature flag state for the given distinct ID with extra context.
- getFeatureFlag(String, String, FeatureFlagContext) - Method in class net.hollowcube.posthog.PostHogClientImpl
- getStates() - Method in class net.hollowcube.posthog.FeatureFlagStates
- getVariant() - Method in class net.hollowcube.posthog.FeatureFlagState
-
Returns the variant of the feature flag if it is enabled and a variant, null otherwise.
- getVariant(String) - Method in class net.hollowcube.posthog.FeatureFlagStates
- GROUP - Static variable in class net.hollowcube.posthog.PostHogNames
- GROUP_IDENTIFY - Static variable in class net.hollowcube.posthog.PostHogNames
- GROUP_KEY - Static variable in class net.hollowcube.posthog.PostHogNames
- GROUP_SET - Static variable in class net.hollowcube.posthog.PostHogNames
- GROUP_TYPE - Static variable in class net.hollowcube.posthog.PostHogNames
- groupIdentify(String, String, Object) - Static method in class net.hollowcube.posthog.PostHog
-
Assign the given properties to the given group (type & key).
- groupIdentify(String, String, Object) - Method in interface net.hollowcube.posthog.PostHogClient
-
Assign the given properties to the given group (type & key).
- groupIdentify(String, String, Map<String, Object>) - Static method in class net.hollowcube.posthog.PostHog
-
Assign the given properties to the given group (type & key).
- groupIdentify(String, String, Map<String, Object>) - Method in interface net.hollowcube.posthog.PostHogClient
-
Assign the given properties to the given group (type & key).
- groupProperties() - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Returns the value of the
groupPropertiesrecord component. - groupProperties(Map<String, Object>) - Method in class net.hollowcube.posthog.FeatureFlagContext.Builder
- groups() - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Returns the value of the
groupsrecord component. - groups(Object) - Method in class net.hollowcube.posthog.FeatureFlagContext.Builder
- GROUPS - Static variable in class net.hollowcube.posthog.PostHogNames
- gson(Gson) - Method in class net.hollowcube.posthog.PostHogClient.Builder
-
Allows overriding the
Gsoninstance used for de/serializing events.
H
- hashCode() - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Returns a hash code value for this object.
I
- identify(String, Object) - Static method in class net.hollowcube.posthog.PostHog
-
Link the given properties with the person profile of the user (distinct id).
- identify(String, Object) - Method in interface net.hollowcube.posthog.PostHogClient
-
Link the given properties with the person profile of the user (distinct id).
- identify(String, Object, Object) - Static method in class net.hollowcube.posthog.PostHog
-
Link the given properties with the person profile of the user (distinct id).
- identify(String, Object, Object) - Method in interface net.hollowcube.posthog.PostHogClient
-
Link the given properties with the person profile of the user (distinct id).
- identify(String, Map<String, Object>) - Static method in class net.hollowcube.posthog.PostHog
-
Link the given properties with the person profile of the user (distinct id).
- identify(String, Map<String, Object>) - Method in interface net.hollowcube.posthog.PostHogClient
-
Link the given properties with the person profile of the user (distinct id).
- identify(String, Map<String, Object>, Map<String, Object>) - Static method in class net.hollowcube.posthog.PostHog
-
Link the given properties with the person profile of the user (distinct id).
- identify(String, Map<String, Object>, Map<String, Object>) - Method in interface net.hollowcube.posthog.PostHogClient
-
Link the given properties with the person profile of the user (distinct id).
- IDENTIFY - Static variable in class net.hollowcube.posthog.PostHogNames
- init(String) - Static method in class net.hollowcube.posthog.PostHog
- init(String, Function<PostHogClient.Builder, PostHogClient.Builder>) - Static method in class net.hollowcube.posthog.PostHog
- isEnabled() - Method in class net.hollowcube.posthog.FeatureFlagState
-
Returns true if the feature flag is enabled, false otherwise.
- isEnabled(String) - Method in class net.hollowcube.posthog.FeatureFlagStates
- isFeatureEnabled(String, String) - Static method in class net.hollowcube.posthog.PostHog
-
Check if the given feature flag is enabled for the given distinct ID.
- isFeatureEnabled(String, String) - Method in interface net.hollowcube.posthog.PostHogClient
-
Check if the given feature flag is enabled for the given distinct ID.
- isFeatureEnabled(String, String, FeatureFlagContext) - Static method in class net.hollowcube.posthog.PostHog
-
Check if the given feature flag is enabled for the given distinct ID with extra context.
- isFeatureEnabled(String, String, FeatureFlagContext) - Method in interface net.hollowcube.posthog.PostHogClient
-
Check if the given feature flag is enabled for the given distinct ID with extra context.
- isInconclusive() - Method in class net.hollowcube.posthog.FeatureFlagState
K
- keySet() - Method in class net.hollowcube.posthog.FeatureFlagStates
M
- maxBatchSize(int) - Method in class net.hollowcube.posthog.PostHogClient.Builder
N
- net.hollowcube.posthog - package net.hollowcube.posthog
- newBuilder() - Static method in record class net.hollowcube.posthog.FeatureFlagContext
- newBuilder(String) - Static method in interface net.hollowcube.posthog.PostHogClient
- newPostHogClient(String) - Static method in interface net.hollowcube.posthog.PostHogClient
- noopPostHogClient() - Static method in interface net.hollowcube.posthog.PostHogClient
P
- PAGE_LEAVE - Static variable in class net.hollowcube.posthog.PostHogNames
- PAGE_VIEW - Static variable in class net.hollowcube.posthog.PostHogNames
- personalApiKey(String) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- personProperties() - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Returns the value of the
personPropertiesrecord component. - personProperties(Object) - Method in class net.hollowcube.posthog.FeatureFlagContext.Builder
- PostHog - Class in net.hollowcube.posthog
- PostHog() - Constructor for class net.hollowcube.posthog.PostHog
- PostHogClient - Interface in net.hollowcube.posthog
-
Represents the available API surface for PostHog.
- PostHogClient.Builder - Class in net.hollowcube.posthog
- PostHogClientImpl - Class in net.hollowcube.posthog
- PostHogNames - Class in net.hollowcube.posthog
-
Names with special functionality in PostHog.
- PROCESS_PERSON_PROFILE - Static variable in class net.hollowcube.posthog.PostHogNames
R
- RAGE_CLICK - Static variable in class net.hollowcube.posthog.PostHogNames
- reloadFeatureFlags() - Static method in class net.hollowcube.posthog.PostHog
-
Triggers a full reload of all local feature flags from the remote server.
- reloadFeatureFlags() - Method in interface net.hollowcube.posthog.PostHogClient
-
Triggers a full reload of all local feature flags from the remote server.
- reloadFeatureFlags() - Method in class net.hollowcube.posthog.PostHogClientImpl
- REMOTE_EVAL_NOT_ALLOWED - Static variable in class net.hollowcube.posthog.FeatureFlagState
S
- SCREEN - Static variable in class net.hollowcube.posthog.PostHogNames
- sendFeatureFlagEvents() - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Returns the value of the
sendFeatureFlagEventsrecord component. - sendFeatureFlagEvents(boolean) - Method in class net.hollowcube.posthog.PostHogClient.Builder
- sendFeatureFlagEvents(Boolean) - Method in class net.hollowcube.posthog.FeatureFlagContext.Builder
- set(String, Object) - Static method in class net.hollowcube.posthog.PostHog
-
Set the given properties with the person profile of the user (distinct id).
- set(String, Object) - Method in interface net.hollowcube.posthog.PostHogClient
-
Set the given properties with the person profile of the user (distinct id).
- set(String, Object, Object) - Static method in class net.hollowcube.posthog.PostHog
-
Set the given properties with the person profile of the user (distinct id).
- set(String, Object, Object) - Method in interface net.hollowcube.posthog.PostHogClient
-
Set the given properties with the person profile of the user (distinct id).
- set(String, Map<String, Object>) - Static method in class net.hollowcube.posthog.PostHog
-
Set the given properties with the person profile of the user (distinct id).
- set(String, Map<String, Object>) - Method in interface net.hollowcube.posthog.PostHogClient
-
Set the given properties with the person profile of the user (distinct id).
- set(String, Map<String, Object>, Map<String, Object>) - Static method in class net.hollowcube.posthog.PostHog
-
Set the given properties with the person profile of the user (distinct id).
- set(String, Map<String, Object>, Map<String, Object>) - Method in interface net.hollowcube.posthog.PostHogClient
-
Set the given properties with the person profile of the user (distinct id).
- SET - Static variable in class net.hollowcube.posthog.PostHogNames
- SET_ONCE - Static variable in class net.hollowcube.posthog.PostHogNames
- shutdown() - Static method in class net.hollowcube.posthog.PostHog
- shutdown(Duration) - Static method in class net.hollowcube.posthog.PostHog
- shutdown(Duration) - Method in interface net.hollowcube.posthog.PostHogClient
- shutdown(Duration) - Method in class net.hollowcube.posthog.PostHogClientImpl
T
- toString() - Method in record class net.hollowcube.posthog.FeatureFlagContext
-
Returns a string representation of this record class.
- toString() - Method in class net.hollowcube.posthog.FeatureFlagState
- toString() - Method in class net.hollowcube.posthog.FeatureFlagStates
U
- UNSET - Static variable in class net.hollowcube.posthog.PostHogNames
All Classes and Interfaces|All Packages|Constant Field Values