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.EventPublsher
    eventSource​(T source)  
    static <T extends com.fluxtion.api.event.Event>
    com.fluxtion.api.event.EventPublsher
    eventSource​(T source, java.lang.String name)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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)