Class StateMachine
java.lang.Object
io.openems.edge.common.statemachine.AbstractStateMachine<StateMachine.OffGridState,Context>
io.openems.edge.ess.generic.offgrid.statemachine.StateMachine
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class io.openems.edge.common.statemachine.AbstractStateMachine
debugLog, forceNextState, getCurrentState, getPreviousState, run
-
Constructor Details
-
StateMachine
-
-
Method Details
-
getStateHandler
public StateHandler<StateMachine.OffGridState,Context> getStateHandler(StateMachine.OffGridState state) 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.OffGridState,
Context> - Parameters:
state
- the State- Returns:
- the
StateHandler
for the given State
-