Class RunningHandler
- java.lang.Object
-
- io.openems.edge.common.statemachine.StateHandler<StateMachine.State,Context>
-
- io.openems.edge.battery.fenecon.commercial.statemachine.RunningHandler
-
public class RunningHandler extends StateHandler<StateMachine.State,Context>
-
-
Constructor Summary
Constructors Constructor Description RunningHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateMachine.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
onEntry, onExit
-
-
-
-
Method Detail
-
runAndGetNextState
public StateMachine.State runAndGetNextState(Context context) throws OpenemsError.OpenemsNamedException
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
- Throws:
OpenemsError.OpenemsNamedException
-
-