Uses of Interface
com.alibaba.cola.statemachine.StateMachine
-
Packages that use StateMachine Package Description com.alibaba.cola.statemachine com.alibaba.cola.statemachine.builder The builder is to provide fluent interfaces for statemachine, which is a classic Internal DSL implementing skill.com.alibaba.cola.statemachine.impl -
-
Uses of StateMachine in com.alibaba.cola.statemachine
Methods in com.alibaba.cola.statemachine that return StateMachine Modifier and Type Method Description static <S,E,C>
StateMachine<S,E,C>StateMachineFactory. get(String machineId)StateMachine<S,E,C>StateContext. getStateMachine()Gets the state machine.Methods in com.alibaba.cola.statemachine with parameters of type StateMachine Modifier and Type Method Description static <S,E,C>
voidStateMachineFactory. register(StateMachine<S,E,C> stateMachine)StringVisitor. visitOnEntry(StateMachine<?,?,?> visitable)StringVisitor. visitOnExit(StateMachine<?,?,?> visitable) -
Uses of StateMachine in com.alibaba.cola.statemachine.builder
Methods in com.alibaba.cola.statemachine.builder that return StateMachine Modifier and Type Method Description StateMachine<S,E,C>StateMachineBuilder. build(String machineId)StateMachine<S,E,C>StateMachineBuilderImpl. build(String machineId) -
Uses of StateMachine in com.alibaba.cola.statemachine.impl
Classes in com.alibaba.cola.statemachine.impl that implement StateMachine Modifier and Type Class Description classStateMachineImpl<S,E,C>For performance consideration, The state machine is made "stateless" on purpose.Methods in com.alibaba.cola.statemachine.impl with parameters of type StateMachine Modifier and Type Method Description StringPlantUMLVisitor. visitOnEntry(StateMachine<?,?,?> visitable)Since the state machine is stateless, there is no initial state.StringSysOutVisitor. visitOnEntry(StateMachine<?,?,?> stateMachine)StringPlantUMLVisitor. visitOnExit(StateMachine<?,?,?> visitable)StringSysOutVisitor. visitOnExit(StateMachine<?,?,?> stateMachine)
-