public interface StateMatcher
Modifier and Type | Method and Description |
---|---|
boolean |
check(CurrentState current)
A predicate to match the current state
|
java.lang.String |
prefix()
The prefix of the destination component for which the current state is being matched
|
java.lang.String |
stateName()
The name of the state to match for
|
akka.util.Timeout |
timeout()
The maximum duration for which the matching is executed if not completed either successfully or unsuccessfully
|
boolean check(CurrentState current)
current
- current state to be matched as represented by CurrentState
java.lang.String prefix()
java.lang.String stateName()
akka.util.Timeout timeout()