Ex4pmDomain.Notifier.OcelNotifier (ex4pm v26.9.9)

Copy Markdown View Source

Universal Ash.Notifier that automatically intercepts Ash Resource lifecycle actions and transforms them into standard IEEE OCEL 2.0 events.

Usage in any Ash.Resource:

use Ash.Resource,
  notifiers: [Ex4pmDomain.Notifier.OcelNotifier]

Summary

Functions

Callback implementation for Ash.Notifier.load/2.

Transforms an Ash notification into an OCEL 2.0 event map.

Functions

load(_, _)

Callback implementation for Ash.Notifier.load/2.

requires_original_data?(_, _)

Callback implementation for Ash.Notifier.requires_original_data?/2.

transform_notification(notif)

Transforms an Ash notification into an OCEL 2.0 event map.