mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
add toString method (#4592)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
+8
@@ -162,4 +162,12 @@ public class SddpDevice {
|
|||||||
public boolean isExpired() {
|
public boolean isExpired() {
|
||||||
return Instant.now().isAfter(expireInstant);
|
return Instant.now().isAfter(expireInstant);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "SddpDevice [from=" + from + ", host=" + host + ", maxAge=" + maxAge + ", type=" + type
|
||||||
|
+ ", primaryProxy=" + primaryProxy + ", proxies=" + proxies + ", manufacturer=" + manufacturer
|
||||||
|
+ ", model=" + model + ", driver=" + driver + ", ipAddress=" + ipAddress + ", port=" + port
|
||||||
|
+ ", macAddress=" + macAddress + ", expireInstant=" + expireInstant + "]";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user