Classes for configuring GlobalContexts.
Pass a ContextGenerator when initialising a GlobalContext to set specific rules on which entities should be added to which events.
Abstract base class that allows the selective addition of an entity to only a subset of events, using GlobalContext.
Pass a FunctionalGenerator when creating GlobalContext to add a context entity to every event, where the entity can contain properties from the event.
This class allows the attachment of context entities to all events, or all events of a chosen type.
Use this class to add a GlobalContext to specific events only, based on the event schema. New SchemaRuleSets are created using the companion object build methods.