appendDetails() — spring-boot Function Reference
Architecture documentation for the appendDetails() function in MutuallyExclusiveConfigurationPropertiesFailureAnalyzer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 925d310b_dcdf_851c_144c_a6a4cee968d6["appendDetails()"] 65bdb272_af5b_d572_e9d8_225b1f0798da["analyze()"] 65bdb272_af5b_d572_e9d8_225b1f0798da -->|calls| 925d310b_dcdf_851c_144c_a6a4cee968d6 ef954487_e800_ee13_b378_ecc38e9e87df["sortedStrings()"] 925d310b_dcdf_851c_144c_a6a4cee968d6 -->|calls| ef954487_e800_ee13_b378_ecc38e9e87df b066a9ca_1a51_dfe9_141e_2b7a384787ff["getMutuallyExclusiveNames()"] 925d310b_dcdf_851c_144c_a6a4cee968d6 -->|calls| b066a9ca_1a51_dfe9_141e_2b7a384787ff style 925d310b_dcdf_851c_144c_a6a4cee968d6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/MutuallyExclusiveConfigurationPropertiesFailureAnalyzer.java lines 90–103
private void appendDetails(StringBuilder message, MutuallyExclusiveConfigurationPropertiesException cause,
List<Descriptor> descriptors) {
descriptors.sort(Comparator.comparing((descriptor) -> descriptor.propertyName));
message.append(String.format("The following configuration properties are mutually exclusive:%n%n"));
sortedStrings(cause.getMutuallyExclusiveNames())
.forEach((name) -> message.append(String.format("\t%s%n", name)));
message.append(String.format("%n"));
message.append(
String.format("However, more than one of those properties has been configured at the same time:%n%n"));
Set<String> configuredDescriptions = sortedStrings(descriptors,
(descriptor) -> String.format("\t%s%s%n", descriptor.propertyName,
(descriptor.origin != null) ? " (originating from '" + descriptor.origin + "')" : ""));
configuredDescriptions.forEach(message::append);
}
Domain
Subdomains
Calls
- getMutuallyExclusiveNames()
- sortedStrings()
Called By
Source
Frequently Asked Questions
What does appendDetails() do?
appendDetails() is a function in the spring-boot codebase.
What does appendDetails() call?
appendDetails() calls 2 function(s): getMutuallyExclusiveNames, sortedStrings.
What calls appendDetails()?
appendDetails() is called by 1 function(s): analyze.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free