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 Details

    • getFlowName

      String getFlowName()
      Obtains the name of this Flow.
      Returns:
      Name of this Flow.
    • getInitialFunction

      ManagedFunctionReference getInitialFunction()
      Obtains the reference to the initial ManagedFunction of this Flow.
      Returns:
      Reference to the initial ManagedFunction of this Flow.
    • isSpawnThreadState

      boolean isSpawnThreadState()
      Indicates whether to spawn a ThreadState for the Flow.
      Returns:
      true to spawn a ThreadState for the Flow.
    • getIndex

      int getIndex()
      Obtains the index identifying this Flow.
      Returns:
      Index identifying this Flow.
    • getKey

      F getKey()
      Obtains the key identifying this Flow.
      Returns:
      Key identifying this Flow. null if indexed.