Class StateMachineDSL<S,​E,​U extends S>


  • public class StateMachineDSL<S,​E,​U extends S>
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <C extends E>
      StateMachineDSL<S,​E,​U>
      on​(java.lang.Class<C> eventType, java.util.function.BiFunction<? super U,​? super C,​? extends S> handler)  
      <C extends E>
      StateMachineDSL<S,​E,​U>
      on​(java.lang.Class<C> eventType, java.util.function.Predicate<? super C> canHandle, java.util.function.BiFunction<? super U,​? super C,​? extends S> handler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • on

        public <C extends EStateMachineDSL<S,​E,​U> on​(java.lang.Class<C> eventType,
                                                                   java.util.function.BiFunction<? super U,​? super C,​? extends S> handler)
      • on

        public <C extends EStateMachineDSL<S,​E,​U> on​(java.lang.Class<C> eventType,
                                                                   java.util.function.Predicate<? super C> canHandle,
                                                                   java.util.function.BiFunction<? super U,​? super C,​? extends S> handler)