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();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project iaf by ibissource.
the class DirectoryListener method toString.
public String toString() {
String result = super.toString();
ToStringBuilder ts = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
ts.append("name", getName());
ts.append("inputDirectory", getInputDirectory());
ts.append("wildcard", getWildcard());
ts.append("excludeWildcard", getExcludeWildcard());
result += ts.toString();
return result;
}
use of org.apache.commons.lang.builder.ToStringBuilder in project iaf by ibissource.
the class ReceiverBase method toString.
/**
* Returns a toString of this class by introspection and the toString() value of its listener.
*
* @return Description of the Return Value
*/
public String toString() {
String result = super.toString();
ToStringBuilder ts = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
ts.append("name", getName());
result += ts.toString();
result += " listener [" + (listener == null ? "-none-" : listener.toString()) + "]";
return result;
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class MeasurementRequest method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("accessToken", this.accessToken);
builder.append("deviceId", this.deviceId);
if (this.moduleId != null) {
builder.append("moduleId", this.moduleId);
}
builder.append("measures", this.measures);
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class MeasurementResponse method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("status", this.status);
builder.append("body", this.body);
return builder.toString();
}
Aggregations