public interface Flow
FlowEvent
Invocation represents the traversal of that business path.| Modifier and Type | Method and Description |
|---|---|
FlowConfiguration |
getFlowConfiguration()
Method to get the configuration for the given flow.
|
FlowElement<?> |
getFlowElement(String name)
Accessor for getting the flow element by its given name.
|
List<FlowElement<?>> |
getFlowElements()
Accessor for getting the flow elements
TODO - is this really needed ?
|
String |
getModuleName()
Accessor for moduleName
|
String |
getName()
Returns the name of this flow
|
SerialiserFactory |
getSerialiserFactory()
Get the serialiser factory associated with this flow.
|
String |
getState()
Returns the current runtmie state of this flow.
|
boolean |
isPaused()
Is this flow in a paused state
|
boolean |
isRunning()
Is this flow in a running state
|
void |
pause()
Invoke stop on the consumer component only.
|
void |
resume()
Invoke start on the consumer component only.
|
void |
setFlowListener(FlowEventListener flowEventListener)
Setter for a listener for flow events
|
void |
start()
Invoke all start operations for the flow that are required prior to an event invocation including starting the consumer.
|
void |
startPause()
Invoke all start operations for the flow that are required prior to an event invocation, but immediately pause the consumer.
|
void |
stop()
Invoke all stop operations for the flow that are required on shutdown of the invoking client.
|
String getName()
String getModuleName()
List<FlowElement<?>> getFlowElements()
FlowElement<?> getFlowElement(String name)
FlowConfiguration getFlowConfiguration()
void setFlowListener(FlowEventListener flowEventListener)
flowEventListener - void start()
void startPause()
void stop()
void pause()
void resume()
String getState()
SerialiserFactory getSerialiserFactory()
boolean isRunning()
boolean isPaused()
Copyright © 2007-2016 Ikasan. All Rights Reserved.