Search in sources :

Example 86 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class PsOptions method toString.

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

Example 87 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class Dependency method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("groupId", groupId);
    builder.append("artifactId", artifactId);
    builder.append("version", version);
    builder.append("type", type);
    builder.append("scope", scope);
    if (classifier != null) {
        builder.append("classifier", classifier);
    }
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 88 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class Resource method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("directory", directory);
    builder.append("filtering", filtering);
    builder.append("includes", includes);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder)

Example 89 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class Filter method toString.

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

Example 90 with ToStringBuilder

use of org.apache.commons.lang3.builder.ToStringBuilder in project spring-roo by spring-projects.

the class Property method toString.

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("name", name);
    builder.append("value", value);
    return builder.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