Class FlowEventFactory

  • All Implemented Interfaces:
    org.ikasan.spec.event.EventFactory<org.ikasan.spec.flow.FlowEvent<?,​?>>

    public class FlowEventFactory
    extends java.lang.Object
    implements org.ikasan.spec.event.EventFactory<org.ikasan.spec.flow.FlowEvent<?,​?>>
    Implementation of the EventFactory contract based on the creation of a FlowEvent.
    Author:
    Ikasan Development Team
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <IDENTIFIER,​PAYLOAD>
      org.ikasan.spec.flow.FlowEvent<?,​?>
      newEvent​(IDENTIFIER identifier, IDENTIFIER relatedIdentifier, long timestamp, PAYLOAD payload)  
      <IDENTIFIER,​PAYLOAD>
      org.ikasan.spec.flow.FlowEvent<IDENTIFIER,​PAYLOAD>
      newEvent​(IDENTIFIER identifier, IDENTIFIER relatedIdentifier, PAYLOAD payload)  
      <IDENTIFIER,​PAYLOAD>
      org.ikasan.spec.flow.FlowEvent<IDENTIFIER,​PAYLOAD>
      newEvent​(IDENTIFIER identifier, PAYLOAD payload)
      Factory method to create a new FlowEvent instance.
      • Methods inherited from class java.lang.Object

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

      • FlowEventFactory

        public FlowEventFactory()
    • Method Detail

      • newEvent

        public <IDENTIFIER,​PAYLOAD> org.ikasan.spec.flow.FlowEvent<IDENTIFIER,​PAYLOAD> newEvent​(IDENTIFIER identifier,
                                                                                                            PAYLOAD payload)
        Factory method to create a new FlowEvent instance.
        Specified by:
        newEvent in interface org.ikasan.spec.event.EventFactory<org.ikasan.spec.flow.FlowEvent<?,​?>>
        Parameters:
        identifier -
        payload -
      • newEvent

        public <IDENTIFIER,​PAYLOAD> org.ikasan.spec.flow.FlowEvent<IDENTIFIER,​PAYLOAD> newEvent​(IDENTIFIER identifier,
                                                                                                            IDENTIFIER relatedIdentifier,
                                                                                                            PAYLOAD payload)
        Specified by:
        newEvent in interface org.ikasan.spec.event.EventFactory<org.ikasan.spec.flow.FlowEvent<?,​?>>
      • newEvent

        public <IDENTIFIER,​PAYLOAD> org.ikasan.spec.flow.FlowEvent<?,​?> newEvent​(IDENTIFIER identifier,
                                                                                             IDENTIFIER relatedIdentifier,
                                                                                             long timestamp,
                                                                                             PAYLOAD payload)
        Specified by:
        newEvent in interface org.ikasan.spec.event.EventFactory<org.ikasan.spec.flow.FlowEvent<?,​?>>