class FSMTransitionHandlerBuilder[S] extends AnyRef
- Alphabetic
- By Inheritance
- FSMTransitionHandlerBuilder
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FSMTransitionHandlerBuilder()
Value Members
- def build(): PartialFunction[(S, S), BoxedUnit]
Build a
scala.PartialFunction
from this builder.Build a
scala.PartialFunction
from this builder. After this call the builder will be reset.- returns
a PartialFunction for this builder.
- def state(fromState: S, toState: S, apply: UnitApply2[S, S]): FSMTransitionHandlerBuilder[S]
Add a case statement that matches on a from state and a to state.
Add a case statement that matches on a from state and a to state.
- fromState
the from state to match on, or null for any
- toState
the to state to match on, or null for any
- apply
an action to apply when the states match
- returns
the builder with the case statement added
- def state(fromState: S, toState: S, apply: UnitApplyVoid): FSMTransitionHandlerBuilder[S]
Add a case statement that matches on a from state and a to state.
Add a case statement that matches on a from state and a to state.
- fromState
the from state to match on, or null for any
- toState
the to state to match on, or null for any
- apply
an action to apply when the states match
- returns
the builder with the case statement added
Builder used to create a partial function for
akka.actor.FSM#onTransition
.