Interface EventConsumer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EventConsumer
The event consumer handles RepoEvent objects, usually to publish them again in a different output channel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    consumeEvent(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event)
    Consume a RepoEvent.
  • Method Details

    • consumeEvent

      void consumeEvent(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event)
      Consume a RepoEvent.
      Parameters:
      event - the RepoEvent to be consumed