Skip to main content
These annotations mark methods as handlers for specific Javers snapshot types within a @JaversStream class.

Overview

Supported Signatures

All three annotations support the same signature styles:

Entity + Context

Context Only

Entity Only

Notes

  • Multiple handlers per snapshot type are allowed — all matching handlers are invoked in declaration order
  • If no handler matches the snapshot type, the event is silently skipped
  • For @OnTerminal, the entity represents the last known state before deletion
  • The JaversChangeContext exposes both the native Javers CdoSnapshot and FlowWarden event metadata

Example