public class FsmCursor extends Object
createCursor.| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Resets the state machine, setting it back to the start state.
|
void |
transition(String token)
Record a transition in the state machine.
|
public void transition(String token)
Validates the transition using FsmDescriptor.validateTransitions(CharSequence).
token - the name of the transitionpublic void reset()
Copyright © 2017 The Apache Software Foundation. All rights reserved.