ExecutionPublisher

Notifies ExecutionSubscriber s that an action has been executed or a property edited.

API

ExecutionPublisher.java
interface ExecutionPublisher {
  void publishActionInvocation(Execution<?, ?> execution)     (1)
  void publishPropertyEdit(Execution<?, ?> execution)     (2)
  T withPublishingSuppressed(Supplier<T> block)     (3)
}
1 publishActionInvocation(Execution)

Notifies ExecutionSubscriber s of an action invocation through the ExecutionSubscriber#onExecution(Execution) callback.

2 publishPropertyEdit(Execution)

Notifies ExecutionSubscriber s of a property edit through the ExecutionSubscriber#onExecution(Execution) callback.

3 withPublishingSuppressed(Supplier)

Slightly hokey wormhole (anti)pattern to disable publishing for mixin associations.

Members

publishActionInvocation(Execution)

Notifies ExecutionSubscriber s of an action invocation through the ExecutionSubscriber#onExecution(Execution) callback.

publishPropertyEdit(Execution)

Notifies ExecutionSubscriber s of a property edit through the ExecutionSubscriber#onExecution(Execution) callback.

withPublishingSuppressed(Supplier)

Slightly hokey wormhole (anti)pattern to disable publishing for mixin associations.