ActivateNotification and users should implement
NotificationHandler<DecisionNotification> directly.@Deprecated public abstract class ActivateNotificationListener extends java.lang.Object implements NotificationHandler<ActivateNotification>, NotificationListener, ActivateNotificationListenerInterface
| Constructor and Description |
|---|
ActivateNotificationListener()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ActivateNotification message)
Deprecated.
|
void |
notify(java.lang.Object... args)
Deprecated.
|
abstract void |
onActivate(Experiment experiment,
java.lang.String userId,
java.util.Map<java.lang.String,?> attributes,
Variation variation,
LogEvent event)
Deprecated.
onActivate called when an activate was triggered
|
@Deprecated public final void notify(java.lang.Object... args)
handle(ActivateNotification)notify in interface NotificationListenerargs - - variable argument list based on the type of notification.public final void handle(ActivateNotification message)
handle in interface NotificationHandler<ActivateNotification>public abstract void onActivate(@Nonnull
Experiment experiment,
@Nonnull
java.lang.String userId,
@Nonnull
java.util.Map<java.lang.String,?> attributes,
@Nonnull
Variation variation,
@Nonnull
LogEvent event)
onActivate in interface ActivateNotificationListenerInterfaceexperiment - - The experiment object being activated.userId - - The userId passed into activate.attributes - - The filtered attribute list passed into activatevariation - - The variation that was returned from activate.event - - The impression event that was triggered.