org.qi4j.library.eventsourcing.application.source.helper

## Class ApplicationEvents

- java.lang.Object
- - org.qi4j.library.eventsourcing.application.source.helper.ApplicationEvents

-     public class ApplicationEvents
      extends Object

  Helper methods for working with Iterables of DomainEvents and UnitOfWorkDomainEventsValue.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApplicationEvents()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Specification<ApplicationEvent>` | `afterDate(Date afterDate)`
    `static Specification<ApplicationEvent>` | `beforeDate(Date beforeDate)`
    `static Iterable<ApplicationEvent>` | `events(Iterable<TransactionApplicationEvents> transactions)`
    `static Iterable<ApplicationEvent>` | `events(TransactionApplicationEvents... transactionDomains)`
    `static boolean` | `matches(Specification<ApplicationEvent> specification, Iterable<TransactionApplicationEvents> transactions)`
    `static Specification<ApplicationEvent>` | `paramIs(String name, String value)`
    `static Output<TransactionApplicationEvents,ApplicationEventReplayException>` | `playEvents(ApplicationEventPlayer player, Object eventHandler)`
    `static Specification<ApplicationEvent>` | `withNames(Class eventClass)`
    `static Specification<ApplicationEvent>` | `withNames(Iterable<String> names)`
    `static Specification<ApplicationEvent>` | `withNames(String... names)`
    `static Specification<ApplicationEvent>` | `withUsecases(String... names)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ApplicationEvents

          public ApplicationEvents()

  - ### Method Detail

    - #### events

          public static Iterable<ApplicationEvent> events(Iterable<TransactionApplicationEvents> transactions)

    - #### events

          public static Iterable<ApplicationEvent> events(TransactionApplicationEvents... transactionDomains)

    - #### matches

          public static boolean matches(Specification<ApplicationEvent> specification,
                        Iterable<TransactionApplicationEvents> transactions)

    - #### withNames

          public static Specification<ApplicationEvent> withNames(Iterable<String> names)

    - #### withNames

          public static Specification<ApplicationEvent> withNames(String... names)

    - #### withNames

          public static Specification<ApplicationEvent> withNames(Class eventClass)

    - #### afterDate

          public static Specification<ApplicationEvent> afterDate(Date afterDate)

    - #### beforeDate

          public static Specification<ApplicationEvent> beforeDate(Date beforeDate)

    - #### withUsecases

          public static Specification<ApplicationEvent> withUsecases(String... names)

    - #### paramIs

          public static Specification<ApplicationEvent> paramIs(String name,
                                                String value)

    - #### playEvents

          public static Output<TransactionApplicationEvents,ApplicationEventReplayException> playEvents(ApplicationEventPlayer player,
                                                                                        Object eventHandler)