Class AppliedEvent

java.lang.Object
io.fluxcapacitor.javaclient.modeling.AppliedEvent

public class AppliedEvent extends Object
Represents an event that has been applied to an aggregate along with its intended publication strategy.

This object combines a deserialized event with its EventPublicationStrategy, allowing the system to determine how the event should be treated upon commit:

  • Whether it should be published immediately to the event gateway
  • Whether it should only be persisted in the event store of the aggregate
  • Or both (default behavior)
  • Constructor Details

    • AppliedEvent

      public AppliedEvent()