}
}
@Override
public String toString() {
final ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
if (ArrayUtils.isNotEmpty(configurationClasses)) {
final String[] names = new String[configurationClasses.length];
for (int i = 0; i < names.length; i++) {
names[i] = configurationClasses[i].getName();
}
sb.append("configurationClasses", Arrays.toString(names));
}
if (ArrayUtils.isNotEmpty(configurationPackages)) {
final String[] names = new String[configurationPackages.length];
for (int i = 0; i < names.length; i++) {
names[i] = configurationPackages[i].getName();
}
sb.append("configurationPackages", Arrays.toString(names));
}
if (!CollectionUtils.isEmpty(jvmSystemProperties)) {
final StringWriter sw = new StringWriter(256);
try {
jvmSystemProperties.store(sw, "JVM System Propperties");
} catch (final IOException e) {
throw new RuntimeException(e);
}
sb.append("jvmSystemProperties", sw.toString());
}
return sb.toString();
}