EngineDefinition

works.iterative.workflow.EngineDefinition
final case class EngineDefinition[R, State, Entity, Command, Event](stateOf: Entity => State, transitions: List[Transition[R, State, Entity, Command, Event]])

The runtime definition consumed by WorkflowInterpreter.decide.

Value parameters

stateOf

the entity→state projection (e.g. for Poptávka: _.stav)

transitions

the transition table; order is preserved and load-bearing — first-applicable wins, mirroring an orElse chain

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product