test_class.declarator: BINDING_ID = "bindingId"
test_class.modifier: private static final
test_class.original_string: private static final String BINDING_ID = "bindingId";
test_class.type: String
test_class.var_name: BINDING_ID
test_class.declarator: BRIDGE_UID = new ThingUID(new ThingTypeUID(BINDING_ID, "bridgeTypeId"), "bridgeId")
test_class.modifier: private static final
test_class.original_string: private static final ThingUID BRIDGE_UID = new ThingUID(new ThingTypeUID(BINDING_ID, "bridgeTypeId"), "bridgeId");
test_class.type: ThingUID
test_class.var_name: BRIDGE_UID
test_class.declarator: THING_TYPE_UID = new ThingTypeUID(BINDING_ID, "thingTypeId")
test_class.modifier: private static final
test_class.original_string: private static final ThingTypeUID THING_TYPE_UID = new ThingTypeUID(BINDING_ID, "thingTypeId");
test_class.type: ThingTypeUID
test_class.var_name: THING_TYPE_UID
test_class.declarator: THING_UID = new ThingUID(THING_TYPE_UID, BRIDGE_UID, "thingId")
test_class.modifier: private static final
test_class.original_string: private static final ThingUID THING_UID = new ThingUID(THING_TYPE_UID, BRIDGE_UID, "thingId");
test_class.type: ThingUID
test_class.var_name: THING_UID
test_class.declarator: KEY1 = "key1"
test_class.modifier: private static final
test_class.original_string: private static final String KEY1 = "key1";
test_class.type: String
test_class.var_name: KEY1
test_class.declarator: KEY2 = "key2"
test_class.modifier: private static final
test_class.original_string: private static final String KEY2 = "key2";
test_class.type: String
test_class.var_name: KEY2
test_class.declarator: VALUE1 = "value1"
test_class.modifier: private static final
test_class.original_string: private static final String VALUE1 = "value1";
test_class.type: String
test_class.var_name: VALUE1
test_class.declarator: VALUE2 = "value2"
test_class.modifier: private static final
test_class.original_string: private static final String VALUE2 = "value2";
test_class.type: String
test_class.var_name: VALUE2
test_class.declarator: properties = new HashMap<String, Object>() {
          private static final long serialVersionUID = 1L;
          {
              put(KEY1, VALUE1);
              put(KEY2, VALUE2);
          }
      }
test_class.modifier: private final
test_class.original_string: private final Map<String, Object> properties = new HashMap<String, Object>() {
          private static final long serialVersionUID = 1L;
          {
              put(KEY1, VALUE1);
              put(KEY2, VALUE2);
          }
      };
test_class.type: Map<String, Object>
test_class.var_name: properties
test_class.declarator: builder
test_class.modifier: private
test_class.original_string: private DiscoveryResultBuilder builder;
test_class.type: DiscoveryResultBuilder
test_class.var_name: builder
test_class.declarator: discoveryResult
test_class.modifier: private
test_class.original_string: private DiscoveryResult discoveryResult;
test_class.type: DiscoveryResult
test_class.var_name: discoveryResult
test_class.file: bundles/org.openhab.core.config.discovery/src/test/java/org/openhab/core/config/discovery/DiscoveryResultBuilderTest.java
test_class.identifier: DiscoveryResultBuilderTest
test_case.body: @Test
      public void testDiscoveryResultBuilder() {
          assertThat(discoveryResult.getThingUID(), is(THING_UID));
          assertThat(discoveryResult.getThingTypeUID(), is(THING_TYPE_UID));
          assertThat(discoveryResult.getBindingId(), is(BINDING_ID));
          assertThat(discoveryResult.getLabel(), is("Test"));
          assertThat(discoveryResult.getProperties().size(), is(2));
          assertThat(discoveryResult.getProperties(), hasEntry(KEY1, VALUE1));
          assertThat(discoveryResult.getProperties(), hasEntry(KEY2, VALUE2));
          assertThat(discoveryResult.getRepresentationProperty(), is(KEY1));
          assertThat(discoveryResult.getTimeToLive(), is(DiscoveryResult.TTL_UNLIMITED));
      }
test_case.class_method_signature: DiscoveryResultBuilderTest.testDiscoveryResultBuilder()
test_case.full_signature: @Test public void testDiscoveryResultBuilder()
test_case.identifier: testDiscoveryResultBuilder
test_case.invocations: assertThat getThingUID is assertThat getThingTypeUID is assertThat getBindingId is assertThat getLabel is assertThat size getProperties is assertThat getProperties hasEntry assertThat getProperties hasEntry assertThat getRepresentationProperty is assertThat getTimeToLive is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDiscoveryResultBuilder()
focal_class.declarator: logger = LoggerFactory.getLogger(DiscoveryResultBuilder.class)
focal_class.modifier: private
focal_class.original_string: private Logger logger = LoggerFactory.getLogger(DiscoveryResultBuilder.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: thingUID
focal_class.modifier: private final
focal_class.original_string: private final ThingUID thingUID;
focal_class.type: ThingUID
focal_class.var_name: thingUID
focal_class.declarator: bridgeUID
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable ThingUID bridgeUID;
focal_class.type: ThingUID
focal_class.var_name: bridgeUID
focal_class.declarator: properties = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Object> properties = new HashMap<>();
focal_class.type: Map<String, Object>
focal_class.var_name: properties
focal_class.declarator: representationProperty
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String representationProperty;
focal_class.type: String
focal_class.var_name: representationProperty
focal_class.declarator: label
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable String label;
focal_class.type: String
focal_class.var_name: label
focal_class.declarator: ttl = DiscoveryResult.TTL_UNLIMITED
focal_class.modifier: private
focal_class.original_string: private long ttl = DiscoveryResult.TTL_UNLIMITED;
focal_class.type: long
focal_class.var_name: ttl
focal_class.declarator: thingTypeUID
focal_class.modifier: private @Nullable
focal_class.original_string: private @Nullable ThingTypeUID thingTypeUID;
focal_class.type: ThingTypeUID
focal_class.var_name: thingTypeUID
focal_class.file: bundles/org.openhab.core.config.discovery/src/main/java/org/openhab/core/config/discovery/DiscoveryResultBuilder.java
focal_class.identifier: DiscoveryResultBuilder
focal_class.class_method_signature: DiscoveryResultBuilder.DiscoveryResultBuilder(ThingUID thingUID)
focal_class.full_signature: private  DiscoveryResultBuilder(ThingUID thingUID)
focal_class.identifier: DiscoveryResultBuilder
focal_class.modifiers: private
focal_class.parameters: (ThingUID thingUID)
focal_class.signature:  DiscoveryResultBuilder(ThingUID thingUID)
focal_class.class_method_signature: DiscoveryResultBuilder.create(ThingUID thingUID)
focal_class.full_signature: public static DiscoveryResultBuilder create(ThingUID thingUID)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (ThingUID thingUID)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder create(ThingUID thingUID)
focal_class.class_method_signature: DiscoveryResultBuilder.withThingType(@Nullable ThingTypeUID thingTypeUID)
focal_class.full_signature: public DiscoveryResultBuilder withThingType(@Nullable ThingTypeUID thingTypeUID)
focal_class.identifier: withThingType
focal_class.modifiers: public
focal_class.parameters: (@Nullable ThingTypeUID thingTypeUID)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder withThingType(@Nullable ThingTypeUID thingTypeUID)
focal_class.class_method_signature: DiscoveryResultBuilder.withProperties(@Nullable Map<String, Object> properties)
focal_class.full_signature: public DiscoveryResultBuilder withProperties(@Nullable Map<String, Object> properties)
focal_class.identifier: withProperties
focal_class.modifiers: public
focal_class.parameters: (@Nullable Map<String, Object> properties)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder withProperties(@Nullable Map<String, Object> properties)
focal_class.class_method_signature: DiscoveryResultBuilder.withProperty(String key, Object value)
focal_class.full_signature: public DiscoveryResultBuilder withProperty(String key, Object value)
focal_class.identifier: withProperty
focal_class.modifiers: public
focal_class.parameters: (String key, Object value)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder withProperty(String key, Object value)
focal_class.class_method_signature: DiscoveryResultBuilder.withRepresentationProperty(@Nullable String representationProperty)
focal_class.full_signature: public DiscoveryResultBuilder withRepresentationProperty(@Nullable String representationProperty)
focal_class.identifier: withRepresentationProperty
focal_class.modifiers: public
focal_class.parameters: (@Nullable String representationProperty)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder withRepresentationProperty(@Nullable String representationProperty)
focal_class.class_method_signature: DiscoveryResultBuilder.withBridge(@Nullable ThingUID bridgeUID)
focal_class.full_signature: public DiscoveryResultBuilder withBridge(@Nullable ThingUID bridgeUID)
focal_class.identifier: withBridge
focal_class.modifiers: public
focal_class.parameters: (@Nullable ThingUID bridgeUID)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder withBridge(@Nullable ThingUID bridgeUID)
focal_class.class_method_signature: DiscoveryResultBuilder.withLabel(@Nullable String label)
focal_class.full_signature: public DiscoveryResultBuilder withLabel(@Nullable String label)
focal_class.identifier: withLabel
focal_class.modifiers: public
focal_class.parameters: (@Nullable String label)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder withLabel(@Nullable String label)
focal_class.class_method_signature: DiscoveryResultBuilder.withTTL(long ttl)
focal_class.full_signature: public DiscoveryResultBuilder withTTL(long ttl)
focal_class.identifier: withTTL
focal_class.modifiers: public
focal_class.parameters: (long ttl)
focal_class.return: DiscoveryResultBuilder
focal_class.signature: DiscoveryResultBuilder withTTL(long ttl)
focal_class.class_method_signature: DiscoveryResultBuilder.build()
focal_class.full_signature: @SuppressWarnings("deprecation") public DiscoveryResult build()
focal_class.identifier: build
focal_class.modifiers: @SuppressWarnings("deprecation") public
focal_class.parameters: ()
focal_class.return: DiscoveryResult
focal_class.signature: DiscoveryResult build()
focal_class.class_method_signature: DiscoveryResultBuilder.validateThingUID(@Nullable ThingUID bridgeUID)
focal_class.full_signature: private void validateThingUID(@Nullable ThingUID bridgeUID)
focal_class.identifier: validateThingUID
focal_class.modifiers: private
focal_class.parameters: (@Nullable ThingUID bridgeUID)
focal_class.return: void
focal_class.signature: void validateThingUID(@Nullable ThingUID bridgeUID)
focal_class.class_method_signature: DiscoveryResultBuilder.getStackTrace(final Thread thread)
focal_class.full_signature: private String getStackTrace(final Thread thread)
focal_class.identifier: getStackTrace
focal_class.modifiers: private
focal_class.parameters: (final Thread thread)
focal_class.return: String
focal_class.signature: String getStackTrace(final Thread thread)
focal_method.body: private DiscoveryResultBuilder(ThingUID thingUID) {
          this.thingUID = thingUID;
      }
focal_method.class_method_signature: DiscoveryResultBuilder.DiscoveryResultBuilder(ThingUID thingUID)
focal_method.full_signature: private  DiscoveryResultBuilder(ThingUID thingUID)
focal_method.identifier: DiscoveryResultBuilder
focal_method.modifiers: private
focal_method.parameters: (ThingUID thingUID)
focal_method.signature:  DiscoveryResultBuilder(ThingUID thingUID)