Class SchedulerAllAlphabeticallyImpl

java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.scheduler.allalphabetically.SchedulerAllAlphabeticallyImpl
All Implemented Interfaces:
OpenemsComponent, SchedulerAllAlphabetically, Scheduler

public class SchedulerAllAlphabeticallyImpl extends AbstractOpenemsComponent implements SchedulerAllAlphabetically, Scheduler, OpenemsComponent
This Scheduler returns all existing Controllers ordered by their ID.
  • Constructor Details

    • SchedulerAllAlphabeticallyImpl

      public SchedulerAllAlphabeticallyImpl()
  • Method Details

    • deactivate

      protected void deactivate()
      Description copied from class: AbstractOpenemsComponent
      Handles @Deactivate of implementations. Prints log output.
      Overrides:
      deactivate in class AbstractOpenemsComponent
    • getControllers

      public LinkedHashSet<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 interface Scheduler
      Returns:
      a ordered set of Component-IDs of Controllers