This module provides "a state machine that allows you to define transition rules and events. You have to add a single column to keep track of the state of the item and machine takes care of the rest."
For use with Mapper.
To include this module in your Lift project, add the following to build.sbt
:
libraryDependencies += "net.liftmodules" %% "machine_3.2" % "1.5.0"
Lift Version | Scala Version | Module Version |
---|---|---|
3.2.x | 2.11, 2.12 | 1.5.0 |
3.1.x | 2.11, 2.12 | 1.4.0 |
3.0.x | 2.11, 2.12 | 1.3 |
2.5.x | 2.10, 2.9 | 1.2 |
Lift Version | Scala Version | Module Version |
---|---|---|
2.6.x | 2.11, 2.9, 2.10 | 1.3-SNAPSHOT |
3.0.x | 2.10 | 1.2-SNAPSHOT |
Lift in Action uses the module in chapter 5.
Note: The module package changed from net.liftweb.machine
to net.liftmodules.machine
in May 2012. Please consider this when referencing documentation written before that date.
Merge to master will trigger a Travis build and publish a SNAPSHOT (if the version is a -SNAPSHOT).