public class EventPreprocessor extends Object
| Constructor and Description |
|---|
EventPreprocessor(AnalyticsConfig analyticsConfig,
BlacklistFilter blacklistFilter,
WhitelistFilter whitelistFilter,
EventAnonymizer eventAnonymizer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCollect(RawEvent event)
Check whether the passed event may be collected.
|
ProcessedEvent |
preprocess(RawEvent event)
Preprocess the event, regardless of whether we actually want to send it or not.
|
public EventPreprocessor(AnalyticsConfig analyticsConfig, BlacklistFilter blacklistFilter, WhitelistFilter whitelistFilter, EventAnonymizer eventAnonymizer)
public boolean canCollect(RawEvent event)
event - the event to testpublic ProcessedEvent preprocess(RawEvent event)
canCollect(com.atlassian.analytics.event.RawEvent).event - event that is processedCopyright © 2018 Atlassian. All rights reserved.