Class UndefinedHandler
java.lang.Object
io.openems.edge.common.statemachine.StateHandler<StateMachine.State,Context>
io.openems.edge.controller.ess.cycle.statemachine.UndefinedHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Gets called after the StateMachine changes from this State to another State.runAndGetNextState
(Context context) Runs the main logic of StateMachine State and returns the next State.Methods inherited from class io.openems.edge.common.statemachine.StateHandler
debugLog, onEntry
-
Constructor Details
-
UndefinedHandler
public UndefinedHandler()
-
-
Method Details
-
runAndGetNextState
Description copied from class:StateHandler
Runs the main logic of StateMachine State and returns the next State.- Specified by:
runAndGetNextState
in classStateHandler<StateMachine.State,
Context> - Parameters:
context
- theStateHandler
.- Returns:
- the next State
-
onExit
Description copied from class:StateHandler
Gets called after the StateMachine changes from this State to another State.- Overrides:
onExit
in classStateHandler<StateMachine.State,
Context> - Parameters:
context
- the Context object
-