项目作者: ysden123

项目描述 :
Scala FSM
高级语言: Scala
项目地址: git://github.com/ysden123/ys-scala-fsm.git
创建时间: 2015-12-30T18:38:51Z
项目社区:https://github.com/ysden123/ys-scala-fsm

开源协议:MIT License

下载


ys-scala-fsm

Scala Finite State Machine (FSM)

Build Status

State Model

Collection of Transition defines state model.

Each transition defines:

  • source state
  • destination state
  • input (type and parameters)
  • collection of conditions - TransitionCondition
  • type of aggregation (all, one, etc.)
  • priority

Each TransitionCondition defines:

  • parameter name
  • compare type (“<”, “=”, “>”, etc.)
  • expected value

Parameter may be:

  • Text
  • Double
  • Integer
  • Date