grails-plugins / grails-fsm

Finite State Machine behaviour for domain classes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grails Finite State Machine Behavior For Domain Classes

This plugin injects the ability to define and execute simple workflows into domain classes. The current state of the flows will be held in class-properties, that must be explicitely defined in the class (like 'status' and 'mood' in the example below).

Flow definition will be in a static block called 'fsm_def', which can hold several flow definition, each of them tied to one property in the class.

Official docs: http://grails.org/plugin/fsm

About

Finite State Machine behaviour for domain classes

License:Apache License 2.0


Languages

Language:Groovy 80.2%Language:Shell 15.1%Language:Batchfile 4.7%