Class Flow
- java.lang.Object
-
- de.codecentric.reedelk.platform.flow.Flow
-
- All Implemented Interfaces:
de.codecentric.reedelk.runtime.api.component.InboundEventListener
- Direct Known Subclasses:
ErrorStateFlow
public class Flow extends Object implements de.codecentric.reedelk.runtime.api.component.InboundEventListener
-
-
Constructor Summary
Constructors Constructor Description Flow(long moduleId, String moduleName, String flowId, String flowTitle, ExecutionGraph executionGraph, FlowExecutorEngine executionEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforceStop()StringgetFlowId()Optional<String>getFlowTitle()booleanisStarted()booleanisUsingComponent(String targetComponentName)voidonEvent(de.codecentric.reedelk.runtime.api.message.Message message)voidonEvent(de.codecentric.reedelk.runtime.api.message.Message message, de.codecentric.reedelk.runtime.api.component.OnResult onResult)voidreleaseReferences(org.osgi.framework.Bundle bundle)voidstart()voidstopIfStarted()
-
-
-
Constructor Detail
-
Flow
public Flow(long moduleId, String moduleName, String flowId, String flowTitle, ExecutionGraph executionGraph, FlowExecutorEngine executionEngine)
-
-
Method Detail
-
getFlowId
public String getFlowId()
-
isUsingComponent
public boolean isUsingComponent(String targetComponentName)
-
releaseReferences
public void releaseReferences(org.osgi.framework.Bundle bundle)
-
isStarted
public boolean isStarted()
-
start
public void start()
-
stopIfStarted
public void stopIfStarted()
-
forceStop
public void forceStop()
-
onEvent
public void onEvent(de.codecentric.reedelk.runtime.api.message.Message message)
- Specified by:
onEventin interfacede.codecentric.reedelk.runtime.api.component.InboundEventListener
-
onEvent
public void onEvent(de.codecentric.reedelk.runtime.api.message.Message message, de.codecentric.reedelk.runtime.api.component.OnResult onResult)- Specified by:
onEventin interfacede.codecentric.reedelk.runtime.api.component.InboundEventListener
-
-