Class PersistentFSM.Transition<S>

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product
    Enclosing interface:
    PersistentFSM<S extends PersistentFSM.FSMState,​D,​E>

    public static final class PersistentFSM.Transition<S>
    extends java.lang.Object
    implements scala.Product, java.io.Serializable
    Message type which is used to communicate transitions between states to all subscribed listeners (use pekko.actor.FSM.SubscribeTransitionCallBack).
    See Also:
    Serialized Form
    • Constructor Detail

      • Transition

        public Transition​(ActorRef fsmRef,
                          S from,
                          S to,
                          scala.Option<scala.concurrent.duration.FiniteDuration> timeout)
    • Method Detail

      • from

        public S from()
      • to

        public S to()
      • timeout

        public scala.Option<scala.concurrent.duration.FiniteDuration> timeout()
      • copy$default$1

        public <S> ActorRef copy$default$1()
      • copy$default$2

        public <S> S copy$default$2()
      • copy$default$3

        public <S> S copy$default$3()
      • copy$default$4

        public <S> scala.Option<scala.concurrent.duration.FiniteDuration> copy$default$4()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object