Class PersistentFSM.StopEvent<S,D>

java.lang.Object
org.apache.pekko.persistence.fsm.PersistentFSM.StopEvent<S,D>
All Implemented Interfaces:
Serializable, NoSerializationVerificationNeeded, scala.Equals, scala.Product
Enclosing interface:
PersistentFSM<S extends PersistentFSM.FSMState,D,E>

public static final class PersistentFSM.StopEvent<S,D> extends Object implements NoSerializationVerificationNeeded, scala.Product, Serializable
Case class representing the state of the pekko.actor.FSM whithin the onTermination block.
See Also:
  • Constructor Details

  • Method Details

    • reason

      public PersistentFSM.Reason reason()
    • currentState

      public S currentState()
    • stateData

      public D stateData()
    • copy

      public <S, D> PersistentFSM.StopEvent<S,D> copy(PersistentFSM.Reason reason, S currentState, D stateData)
    • copy$default$1

      public <S, D> PersistentFSM.Reason copy$default$1()
    • copy$default$2

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

      public <S, D> D copy$default$3()
    • productPrefix

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

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

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

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

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

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

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

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

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