Package com.variant.server.spi
Interface TargetingLifecycleEvent
- All Superinterfaces:
LifecycleEvent
,StateAwareLifecycleEvent
,VariationAwareLifecycleEvent
public interface TargetingLifecycleEvent
extends VariationAwareLifecycleEvent, 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
-
Method Summary
Methods inherited from interface com.variant.server.spi.LifecycleEvent
getSession
Methods inherited from interface com.variant.server.spi.StateAwareLifecycleEvent
getState
Methods inherited from interface com.variant.server.spi.VariationAwareLifecycleEvent
getExperiment