Interface LifecycleEvent

All Known Subinterfaces:
QualificationLifecycleEvent, StateAwareLifecycleEvent, TargetingLifecycleEvent, VariationAwareLifecycleEvent

public interface LifecycleEvent

Ultimate super-type of all lifecycle event types. Concrete implementations are made available to user code via the LifecycleHook.post(LifecycleEvent) callback method. Lifecycle hooks provide a consistent way of extending the functionality of Variant server with custom semantics via callback methods, which can augment defaultt functionality with application specific semantics.

Since:
0.5
  • Method Summary

    Modifier and Type
    Method
    Description
    User session on whose behalf the event is raised.
  • Method Details

    • getSession

      Session getSession()
      User session on whose behalf the event is raised.
      Returns:
      Since:
      0.8