Class Alerting

All Implemented Interfaces:
DebugLoggable, org.osgi.service.event.EventHandler

public class Alerting extends AbstractOpenemsBackendComponent implements org.osgi.service.event.EventHandler, DebugLoggable
  • Field Details

  • Constructor Details

  • Method Details

    • activate

      protected void activate(Config config)
    • deactivate

      protected void deactivate()
    • handleEvent

      public void handleEvent(org.osgi.service.event.Event event)
      Specified by:
      handleEvent in interface org.osgi.service.event.EventHandler
    • debugLog

      public String debugLog()
      Description copied from interface: DebugLoggable
      Gets some output that is suitable for a continuous Debug log.
      Specified by:
      debugLog in interface DebugLoggable
      Returns:
      the debug log output; null for no log
    • debugMetrics

      public Map<String,com.google.gson.JsonElement> debugMetrics()
      Description copied from interface: DebugLoggable
      Gets some output that is suitable for a debug metrics to write down as Timedata.
      Specified by:
      debugMetrics in interface DebugLoggable
      Returns:
      the key value entries to write down; null or emptyMap for no metrics