Interface TargetingLifecycleEvent

All Superinterfaces:
ExperimentAwareLifecycleEvent, LifecycleEvent, StateAwareLifecycleEvent

public interface TargetingLifecycleEvent extends ExperimentAwareLifecycleEvent, StateAwareLifecycleEvent

Lifecycle event raised when Variant is about to target a user session for a experiment, after the session has already been qualified for this experiment. This event will not be raised for a session which has been disqualified for the experiment.

If no hooks for this event are defined in the experiment schema, Variant server targets the session randomly, according to experience weights provided in the schema. If no experience weights were provided in the schema and no applicable targeting hooks have been defined (or none returned a non-empty result), a run-time user error will be emitted.

Since:
0.10