Class ConfigStatusEventFactory

java.lang.Object
org.openhab.core.events.AbstractEventFactory
org.openhab.core.config.core.status.events.ConfigStatusEventFactory
All Implemented Interfaces:
EventFactory

@NonNullByDefault public final class ConfigStatusEventFactory extends AbstractEventFactory
The ConfigStatusEventFactory is the event factory implementation to create configuration status events, e.g. for ConfigStatusInfoEvent.
Author:
Thomas Höfer - Initial contribution
  • Constructor Details

  • Method Details

    • createEventByType

      protected Event createEventByType(String eventType, String topic, String payload, @Nullable String source) throws Exception
      Description copied from class: AbstractEventFactory
      Create a new event instance based on the event type.
      Specified by:
      createEventByType in class AbstractEventFactory
      Parameters:
      eventType - the event type
      topic - the topic
      payload - the payload
      source - the source, can be null
      Returns:
      the created event instance
      Throws:
      Exception - if the creation of the event fails