Interface FlowConfiguration<F extends Enum<F>>
- All Known Implementing Classes:
FlowConfigurationImpl
public interface FlowConfiguration<F extends Enum<F>>
Configuration for a
Flow.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains the name of thisFlow.intgetIndex()Obtains the index identifying thisFlow.Obtains the reference to the initialManagedFunctionof thisFlow.getKey()Obtains the key identifying thisFlow.booleanIndicates whether to spawn aThreadStatefor theFlow.
-
Method Details
-
getFlowName
String getFlowName()Obtains the name of thisFlow.- Returns:
- Name of this
Flow.
-
getInitialFunction
ManagedFunctionReference getInitialFunction()Obtains the reference to the initialManagedFunctionof thisFlow.- Returns:
- Reference to the initial
ManagedFunctionof thisFlow.
-
isSpawnThreadState
boolean isSpawnThreadState()Indicates whether to spawn aThreadStatefor theFlow.- Returns:
trueto spawn aThreadStatefor theFlow.
-
getIndex
int getIndex()Obtains the index identifying thisFlow.- Returns:
- Index identifying this
Flow.
-
getKey
F getKey()Obtains the key identifying thisFlow.- Returns:
- Key identifying this
Flow.nullif indexed.
-