Class StateMachine
java.lang.Object
io.openems.edge.common.statemachine.AbstractStateMachine<StateMachine.State,Context>
io.openems.edge.battery.fenecon.commercial.statemachine.StateMachine
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final long
-
Constructor Summary
-
Method Summary
Methods inherited from class io.openems.edge.common.statemachine.AbstractStateMachine
debugLog, forceNextState, getCurrentState, getPreviousState, run
-
Field Details
-
RETRY_COMMAND_SECONDS
public static final long RETRY_COMMAND_SECONDS- See Also:
-
RETRY_COMMAND_MAX_ATTEMPTS
public static final int RETRY_COMMAND_MAX_ATTEMPTS- See Also:
-
-
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
-