Interface Action<S,E>

Type Parameters:
S - the type of state
E - the type of event
All Known Implementing Classes:
DistributedLeaderAction, RunnableAction, SpelExpressionAction

public interface Action<S,E>
Generic strategy interface used by a state machine to respond events by executing an Action with a StateContext.
Author:
Janne Valkealahti
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(StateContext<S,E> context)
    Execute action with a StateContext.
  • Method Details