Package com.fluxtion.builder.event
Class EventPublisherBuilder
java.lang.Object
com.fluxtion.builder.event.EventPublisherBuilder
public class EventPublisherBuilder
extends java.lang.Object
Builder used to add a
EventPublsher via static helper functions. The
generated
EventPublsher will be automatically added to the graph context as will any
supplied Event source.- Author:
- V12 Technology Ltd.
-
Constructor Summary
Constructors Constructor Description EventPublisherBuilder() -
Method Summary
Modifier and Type Method Description static <T extends com.fluxtion.api.event.Event>
com.fluxtion.api.event.EventPublshereventSource(T source)static <T extends com.fluxtion.api.event.Event>
com.fluxtion.api.event.EventPublshereventSource(T source, java.lang.String name)
-
Constructor Details
-
EventPublisherBuilder
public EventPublisherBuilder()
-
-
Method Details
-
eventSource
public static <T extends com.fluxtion.api.event.Event> com.fluxtion.api.event.EventPublsher eventSource(T source) -
eventSource
public static <T extends com.fluxtion.api.event.Event> com.fluxtion.api.event.EventPublsher eventSource(T source, java.lang.String name)
-