Package io.openems.edge.scheduler.daily
Class DailySchedulerImpl
- java.lang.Object
-
- io.openems.edge.common.component.AbstractOpenemsComponent
-
- io.openems.edge.scheduler.daily.DailySchedulerImpl
-
- All Implemented Interfaces:
OpenemsComponent
,Scheduler
,DailyScheduler
public class DailySchedulerImpl extends AbstractOpenemsComponent implements DailyScheduler, Scheduler, OpenemsComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.openems.edge.scheduler.daily.DailyScheduler
DailyScheduler.ChannelId
-
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Nested classes/interfaces inherited from interface io.openems.edge.scheduler.api.Scheduler
Scheduler.ChannelId
-
-
Field Summary
Fields Modifier and Type Field Description protected ComponentManager
componentManager
-
Constructor Summary
Constructors Constructor Description DailySchedulerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deactivate()
Handles @Deactivate of implementations.java.util.LinkedHashSet<java.lang.String>
getControllers()
Returns Component-IDs of Controllers ordered by their current execution priority.-
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Methods inherited from interface io.openems.edge.scheduler.api.Scheduler
_setControllerIsMissing, getControllerIsMissing, getControllerIsMissingChannel
-
-
-
-
Field Detail
-
componentManager
protected ComponentManager componentManager
-
-
Method Detail
-
getControllers
public java.util.LinkedHashSet<java.lang.String> getControllers()
Description copied from interface:Scheduler
Returns Component-IDs of Controllers ordered by their current execution priority.This method is called once every Cycle, i.e. once per second. The
LinkedHashSet
is used, as it preserves insertion order- Specified by:
getControllers
in interfaceScheduler
- Returns:
- a ordered set of Component-IDs of Controllers
-
deactivate
protected void deactivate()
Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsComponent
-
-