public interface ProductProvidedPropertyExtractor
This interface defines commonly used methods from com.atlassian.analytics.client.extractor.PropertyExtractor which require product specific implementations. Allowing the product to define how information is extracted from an event within its own repository and exporting it via OSGi.
| Modifier and Type | Method and Description |
|---|---|
default Map<String,Object> |
enrichProperties(Object event)
Enrich properties
|
default String |
extractName(Object event)
Extract the name of this event from the event object
|
default Map<String,Object> |
extractProperty(String name,
Object value)
Extract properties
|
default String |
extractUser(Object event,
Map<String,Object> properties)
Extract the user from the event
|
default String |
getApplicationAccess()
Get the application access for the logged in user associated with this event.
|
@Nullable default Map<String,Object> extractProperty(@Nonnull String name, @Nonnull Object value)
@Nullable default String extractUser(@Nonnull Object event, @Nonnull Map<String,Object> properties)
@Nullable default String getApplicationAccess()
@Nullable default Map<String,Object> enrichProperties(@Nonnull Object event)
Copyright © 2023 Atlassian. All rights reserved.