Package org.ikasan.flow.event
Class FlowEventFactory
- java.lang.Object
-
- org.ikasan.flow.event.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
-
-
Constructor Summary
Constructors Constructor Description FlowEventFactory()
-
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.
-
-
-
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:
newEventin interfaceorg.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:
newEventin interfaceorg.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:
newEventin interfaceorg.ikasan.spec.event.EventFactory<org.ikasan.spec.flow.FlowEvent<?,?>>
-
-