Packages

c

akka.japi.pf

FSMTransitionHandlerBuilder

class FSMTransitionHandlerBuilder[S] extends AnyRef

Builder used to create a partial function for akka.actor.FSM#onTransition.

Source
FSMTransitionHandlerBuilder.java
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FSMTransitionHandlerBuilder
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FSMTransitionHandlerBuilder()

Value Members

  1. 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.

  2. 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

  3. 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