Interface FlowConfiguration<F extends java.lang.Enum<F>>
-
- All Known Implementing Classes:
FlowConfigurationImpl
public interface FlowConfiguration<F extends java.lang.Enum<F>>
Configuration for aFlow
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFlowName()
Obtains the name of thisFlow
.int
getIndex()
Obtains the index identifying thisFlow
.ManagedFunctionReference
getInitialFunction()
Obtains the reference to the initialManagedFunction
of thisFlow
.F
getKey()
Obtains the key identifying thisFlow
.boolean
isSpawnThreadState()
Indicates whether to spawn aThreadState
for theFlow
.
-
-
-
Method Detail
-
getFlowName
java.lang.String getFlowName()
Obtains the name of thisFlow
.- Returns:
- Name of this
Flow
.
-
getInitialFunction
ManagedFunctionReference getInitialFunction()
Obtains the reference to the initialManagedFunction
of thisFlow
.- Returns:
- Reference to the initial
ManagedFunction
of thisFlow
.
-
isSpawnThreadState
boolean isSpawnThreadState()
Indicates whether to spawn aThreadState
for theFlow
.- Returns:
true
to spawn aThreadState
for theFlow
.
-
getIndex
int getIndex()
Obtains the index identifying thisFlow
.- Returns:
- Index identifying this
Flow
.
-
-