File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -248,5 +248,10 @@ public interface Thing extends Identifiable<ThingUID> {
248
248
*/
249
249
void setSemanticEquipmentTag (@ Nullable String semanticEquipmentTag );
250
250
251
+ /**
252
+ * Set the semantic (equipment) tag of the {@link Thing}.
253
+ *
254
+ * @param semanticEquipmentTag the semantic (equipment) tag or {@code null} if no tag has been configured.
255
+ */
251
256
void setSemanticEquipmentTag (@ Nullable SemanticTag semanticEquipmentTag );
252
257
}
Original file line number Diff line number Diff line change @@ -266,6 +266,12 @@ public ThingBuilder withSemanticEquipmentTag(@Nullable String semanticEquipmentT
266
266
return this ;
267
267
}
268
268
269
+ /**
270
+ * Set the semantic (equipment) tag for this thing
271
+ *
272
+ * @param semanticEquipmentTag semantic (equipment) tag for this thing
273
+ * @return the {@link ThingBuilder} itself
274
+ */
269
275
public ThingBuilder withSemanticEquipmentTag (SemanticTag semanticEquipmentTag ) {
270
276
return withSemanticEquipmentTag (semanticEquipmentTag .getName ());
271
277
}
You can’t perform that action at this time.
0 commit comments