Package-level declarations
Classes for configuring GlobalContexts.
Types
Link copied to clipboard
interface ContextGenerator
Pass a ContextGenerator when initialising a GlobalContext to set specific rules on which entities should be added to which events.
Link copied to clipboard
Abstract base class that allows the selective addition of an entity to only a subset of events, using GlobalContext.
Link copied to clipboard
Pass a FunctionalGenerator when creating GlobalContext to add a context entity to every event, where the entity can contain properties from the event.
Link copied to clipboard
class GlobalContext
This class allows the attachment of context entities to all events, or all events of a chosen type.
Link copied to clipboard
class SchemaRuleSet
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.