Package-level declarations
Types
Define checkable holder which can be used to precheck that this handler may handle incoming State
Default realization of StatesHandler. It will incapsulate checking of State type in checkHandleable and class casting in handleState
Default realization of StatesMachine. It uses statesManager for incapsulation of States storing and contexts resolving, and uses launchStateHandling for State handling.
Default realization of states handler
Default StatesMachine may startChain and use inside logic for handling States. By default you may use DefaultStatesMachine or build it with dev.inmo.micro_utils.fsm.common.dsl.buildFSM. Implementers MUST NOT start handling until start method will be called
This extender of StatesMachine interface declare one new function updateChain. Realizations of this interface must be able to perform update of chain in internal StatesManager