test_class.declarator: THING_TYPE_UID1 = new ThingTypeUID("binding", "simpleID")
test_class.modifier: static final
test_class.original_string: static final ThingTypeUID THING_TYPE_UID1 = new ThingTypeUID("binding", "simpleID");
test_class.type: ThingTypeUID
test_class.var_name: THING_TYPE_UID1
test_class.declarator: thingUID = new ThingUID(THING_TYPE_UID1, "idSample")
test_class.original_string: ThingUID thingUID = new ThingUID(THING_TYPE_UID1, "idSample");
test_class.type: ThingUID
test_class.var_name: thingUID
test_class.declarator: eventFactory
test_class.modifier: private
test_class.original_string: private FirmwareEventFactory eventFactory;
test_class.type: FirmwareEventFactory
test_class.var_name: eventFactory
test_class.file: bundles/org.openhab.core.thing/src/test/java/org/openhab/core/thing/firmware/FirmwareEventFactoryTest.java
test_class.identifier: FirmwareEventFactoryTest
test_class.superclass: extends JavaTest
test_case.body: @Test
      public void testNullStatusInfo() {
          assertThrows(IllegalArgumentException.class, () -> FirmwareEventFactory.createFirmwareStatusInfoEvent(null));
      }
test_case.class_method_signature: FirmwareEventFactoryTest.testNullStatusInfo()
test_case.full_signature: @Test public void testNullStatusInfo()
test_case.identifier: testNullStatusInfo
test_case.invocations: assertThrows createFirmwareStatusInfoEvent
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNullStatusInfo()
focal_class.declarator: THING_UID_TOPIC_KEY = "{thingUID}"
focal_class.modifier: static final
focal_class.original_string: static final String THING_UID_TOPIC_KEY = "{thingUID}";
focal_class.type: String
focal_class.var_name: THING_UID_TOPIC_KEY
focal_class.declarator: FIRMWARE_STATUS_TOPIC = "openhab/things/{thingUID}/firmware/status"
focal_class.modifier: static final
focal_class.original_string: static final String FIRMWARE_STATUS_TOPIC = "openhab/things/{thingUID}/firmware/status";
focal_class.type: String
focal_class.var_name: FIRMWARE_STATUS_TOPIC
focal_class.declarator: FIRMWARE_UPDATE_PROGRESS_TOPIC = "openhab/things/{thingUID}/firmware/update/progress"
focal_class.modifier: static final
focal_class.original_string: static final String FIRMWARE_UPDATE_PROGRESS_TOPIC = "openhab/things/{thingUID}/firmware/update/progress";
focal_class.type: String
focal_class.var_name: FIRMWARE_UPDATE_PROGRESS_TOPIC
focal_class.declarator: FIRMWARE_UPDATE_RESULT_TOPIC = "openhab/things/{thingUID}/firmware/update/result"
focal_class.modifier: static final
focal_class.original_string: static final String FIRMWARE_UPDATE_RESULT_TOPIC = "openhab/things/{thingUID}/firmware/update/result";
focal_class.type: String
focal_class.var_name: FIRMWARE_UPDATE_RESULT_TOPIC
focal_class.file: bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/firmware/FirmwareEventFactory.java
focal_class.identifier: FirmwareEventFactory
focal_class.class_method_signature: FirmwareEventFactory.FirmwareEventFactory()
focal_class.full_signature: public  FirmwareEventFactory()
focal_class.identifier: FirmwareEventFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  FirmwareEventFactory()
focal_class.class_method_signature: FirmwareEventFactory.createEventByType(String eventType, String topic, String payload, String source)
focal_class.full_signature: @Override protected Event createEventByType(String eventType, String topic, String payload, String source)
focal_class.identifier: createEventByType
focal_class.modifiers: @Override protected
focal_class.parameters: (String eventType, String topic, String payload, String source)
focal_class.return: Event
focal_class.signature: Event createEventByType(String eventType, String topic, String payload, String source)
focal_class.class_method_signature: FirmwareEventFactory.createFirmwareStatusInfoEvent(FirmwareStatusInfo firmwareStatusInfo)
focal_class.full_signature: public static FirmwareStatusInfoEvent createFirmwareStatusInfoEvent(FirmwareStatusInfo firmwareStatusInfo)
focal_class.identifier: createFirmwareStatusInfoEvent
focal_class.modifiers: public static
focal_class.parameters: (FirmwareStatusInfo firmwareStatusInfo)
focal_class.return: FirmwareStatusInfoEvent
focal_class.signature: FirmwareStatusInfoEvent createFirmwareStatusInfoEvent(FirmwareStatusInfo firmwareStatusInfo)
focal_class.class_method_signature: FirmwareEventFactory.createFirmwareUpdateProgressInfoEvent(
              FirmwareUpdateProgressInfo progressInfo)
focal_class.full_signature: public static FirmwareUpdateProgressInfoEvent createFirmwareUpdateProgressInfoEvent(
              FirmwareUpdateProgressInfo progressInfo)
focal_class.identifier: createFirmwareUpdateProgressInfoEvent
focal_class.modifiers: public static
focal_class.parameters: (
              FirmwareUpdateProgressInfo progressInfo)
focal_class.return: FirmwareUpdateProgressInfoEvent
focal_class.signature: FirmwareUpdateProgressInfoEvent createFirmwareUpdateProgressInfoEvent(
              FirmwareUpdateProgressInfo progressInfo)
focal_class.class_method_signature: FirmwareEventFactory.createFirmwareUpdateResultInfoEvent(
              FirmwareUpdateResultInfo firmwareUpdateResultInfo)
focal_class.full_signature: public static FirmwareUpdateResultInfoEvent createFirmwareUpdateResultInfoEvent(
              FirmwareUpdateResultInfo firmwareUpdateResultInfo)
focal_class.identifier: createFirmwareUpdateResultInfoEvent
focal_class.modifiers: public static
focal_class.parameters: (
              FirmwareUpdateResultInfo firmwareUpdateResultInfo)
focal_class.return: FirmwareUpdateResultInfoEvent
focal_class.signature: FirmwareUpdateResultInfoEvent createFirmwareUpdateResultInfoEvent(
              FirmwareUpdateResultInfo firmwareUpdateResultInfo)
focal_class.class_method_signature: FirmwareEventFactory.createFirmwareStatusInfoEvent(String topic, String payload)
focal_class.full_signature: private static FirmwareStatusInfoEvent createFirmwareStatusInfoEvent(String topic, String payload)
focal_class.identifier: createFirmwareStatusInfoEvent
focal_class.modifiers: private static
focal_class.parameters: (String topic, String payload)
focal_class.return: FirmwareStatusInfoEvent
focal_class.signature: FirmwareStatusInfoEvent createFirmwareStatusInfoEvent(String topic, String payload)
focal_class.class_method_signature: FirmwareEventFactory.createFirmwareUpdateProgressInfoEvent(String topic, String payload)
focal_class.full_signature: private static FirmwareUpdateProgressInfoEvent createFirmwareUpdateProgressInfoEvent(String topic, String payload)
focal_class.identifier: createFirmwareUpdateProgressInfoEvent
focal_class.modifiers: private static
focal_class.parameters: (String topic, String payload)
focal_class.return: FirmwareUpdateProgressInfoEvent
focal_class.signature: FirmwareUpdateProgressInfoEvent createFirmwareUpdateProgressInfoEvent(String topic, String payload)
focal_class.class_method_signature: FirmwareEventFactory.createFirmwareUpdateResultInfoEvent(String topic, String payload)
focal_class.full_signature: private static FirmwareUpdateResultInfoEvent createFirmwareUpdateResultInfoEvent(String topic, String payload)
focal_class.identifier: createFirmwareUpdateResultInfoEvent
focal_class.modifiers: private static
focal_class.parameters: (String topic, String payload)
focal_class.return: FirmwareUpdateResultInfoEvent
focal_class.signature: FirmwareUpdateResultInfoEvent createFirmwareUpdateResultInfoEvent(String topic, String payload)
focal_class.superclass: extends AbstractEventFactory
focal_method.body: public static FirmwareStatusInfoEvent createFirmwareStatusInfoEvent(FirmwareStatusInfo firmwareStatusInfo) {
          checkNotNull(firmwareStatusInfo, "firmwareStatusInfo");
  
          String topic = FIRMWARE_STATUS_TOPIC.replace(THING_UID_TOPIC_KEY,
                  firmwareStatusInfo.getThingUID().getAsString());
          String payload = serializePayload(firmwareStatusInfo);
  
          return new FirmwareStatusInfoEvent(topic, payload, firmwareStatusInfo);
      }
focal_method.class_method_signature: FirmwareEventFactory.createFirmwareStatusInfoEvent(FirmwareStatusInfo firmwareStatusInfo)
focal_method.full_signature: public static FirmwareStatusInfoEvent createFirmwareStatusInfoEvent(FirmwareStatusInfo firmwareStatusInfo)
focal_method.identifier: createFirmwareStatusInfoEvent
focal_method.invocations: checkNotNull replace getAsString getThingUID serializePayload
focal_method.modifiers: public static
focal_method.parameters: (FirmwareStatusInfo firmwareStatusInfo)
focal_method.return: FirmwareStatusInfoEvent
focal_method.signature: FirmwareStatusInfoEvent createFirmwareStatusInfoEvent(FirmwareStatusInfo firmwareStatusInfo)