use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class VariableConfig method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
ToStringBuilder tsb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
tsb.append("name", name);
if (converter != null) {
tsb.append("converter", converter);
}
if (action != null) {
tsb.append("action", action);
}
if (forceUpdate) {
tsb.append("forceUpdate", forceUpdate);
}
if (delay > 0.0) {
tsb.append("delay", delay);
}
return tsb.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class HmRemoteControlOptions method toString.
@Override
public String toString() {
ToStringBuilder tsb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
tsb.append("text", text).append("beep", beep).append("backlight", backlight).append("unit", unit).append("symbols", symbols);
return tsb.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class AstroBindingConfig method toString.
@Override
public String toString() {
ToStringBuilder tsb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
tsb.append("planet", planetName.toString().toLowerCase()).append("type", type).append("property", property);
if (offset != 0) {
tsb.append("offset", offset);
}
return tsb.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project opennms by OpenNMS.
the class AsyncClientConversation method toString.
@Override
public String toString() {
ToStringBuilder builder = new ToStringBuilder(this);
builder.append("hasBanner", m_hasBanner);
builder.append("isComplete", m_isComplete);
builder.append("conversation", m_conversation.toArray());
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project opennms by OpenNMS.
the class AbstractReportInstance method toString.
@Override
public String toString() {
ToStringBuilder tsb = new ToStringBuilder(this);
tsb.append("name", getName());
tsb.append("description", getDescription());
tsb.append("retainInterval", getRetainInterval());
return tsb.toString();
}
Aggregations