Class StateMachine
java.lang.Object
io.openems.edge.common.statemachine.AbstractStateMachine<StateMachine.State,Context>
io.openems.edge.battery.soltaro.single.versionb.statemachine.StateMachine
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.openems.edge.common.statemachine.AbstractStateMachine
debugLog, forceNextState, getCurrentState, getPreviousState, run
-
Constructor Details
-
StateMachine
-
-
Method Details
-
getStateHandler
Description copied from class:AbstractStateMachine
Gets theStateHandler
for each State.This method is called once for every available State during construction of the StateMachine in order to initialize an internal list of StateHandlers.
- Specified by:
getStateHandler
in classAbstractStateMachine<StateMachine.State,
Context> - Parameters:
state
- the State- Returns:
- the
StateHandler
for the given State
-