Search in sources :

Example 51 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project iaf by ibissource.

the class JmsSender method toString.

@Override
public String toString() {
    String result = super.toString();
    ToStringBuilder ts = new ToStringBuilder(this);
    ts.append("name", getName());
    ts.append("replyToName", getReplyToName());
    ts.append("deliveryMode", getDeliveryMode());
    result += ts.toString();
    return result;
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 52 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project iaf by ibissource.

the class IfsaFacade method toString.

@Override
public String toString() {
    String result = super.toString();
    ToStringBuilder ts = new ToStringBuilder(this);
    ts.append("applicationId", applicationId);
    ts.append("serviceId", serviceId);
    if (messageProtocol != null) {
        ts.append("messageProtocol", messageProtocol.getLabel());
        // ts.append("transacted", isTransacted());
        ts.append("jmsTransacted", isJmsTransacted());
    } else
        ts.append("messageProtocol", "null!");
    result += ts.toString();
    return result;
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 53 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project iaf by ibissource.

the class IfsaRequesterSender method toString.

@Override
public String toString() {
    String result = super.toString();
    ToStringBuilder ts = new ToStringBuilder(this);
    result += ts.toString();
    return result;
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 54 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project accumulo by apache.

the class HostRegexTableLoadBalancer method toString.

@Override
public String toString() {
    HrtlbConf myConf = hrtlbConf.get();
    ToStringBuilder buf = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    buf.append("\nTablet Out Of Bounds Check Interval", myConf.oobCheckMillis);
    buf.append("\nMax Tablet Server Migrations", myConf.maxTServerMigrations);
    buf.append("\nRegular Expressions use IPs", myConf.isIpBasedRegex);
    buf.append("\nPools", myConf.poolNameToRegexPattern);
    return buf.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 55 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project cas by apereo.

the class PrincipalAttributeRegisteredServiceUsernameProvider method toString.

@Override
public String toString() {
    final ToStringBuilder toStringBuilder = new ToStringBuilder(null, ToStringStyle.SHORT_PREFIX_STYLE);
    toStringBuilder.append("usernameAttribute", this.usernameAttribute);
    return toStringBuilder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Aggregations

ToStringBuilder (org.apache.commons.lang3.builder.ToStringBuilder)109 Person (org.apache.commons.lang3.builder.ToStringStyleTest.Person)10 Test (org.junit.Test)10 XWikiToStringBuilder (org.xwiki.text.XWikiToStringBuilder)7 Date (java.util.Date)3 Map (java.util.Map)3 HashMap (java.util.HashMap)2 HashSet (java.util.HashSet)2 Optional (java.util.Optional)2 Set (java.util.Set)2 Slf4j (lombok.extern.slf4j.Slf4j)2 StringUtils (org.apache.commons.lang3.StringUtils)2 ToStringStyle (org.apache.commons.lang3.builder.ToStringStyle)2 Pair (org.apache.commons.lang3.tuple.Pair)2 Level (org.apache.logging.log4j.Level)2 LoggerContext (org.apache.logging.log4j.core.LoggerContext)2 FileAppender (org.apache.logging.log4j.core.appender.FileAppender)2 MemoryMappedFileAppender (org.apache.logging.log4j.core.appender.MemoryMappedFileAppender)2 RandomAccessFileAppender (org.apache.logging.log4j.core.appender.RandomAccessFileAppender)2 RollingFileAppender (org.apache.logging.log4j.core.appender.RollingFileAppender)2