analyze() — spring-boot Function Reference
Architecture documentation for the analyze() function in MutuallyExclusiveConfigurationPropertiesFailureAnalyzer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 65bdb272_af5b_d572_e9d8_225b1f0798da["analyze()"] b32bd4ba_4c95_b76c_e666_aa713bed5057["analyze()"] 65bdb272_af5b_d572_e9d8_225b1f0798da -->|calls| b32bd4ba_4c95_b76c_e666_aa713bed5057 40a9ed99_bfee_98c0_2c97_787bbd5f5ce3["getConfiguredNames()"] 65bdb272_af5b_d572_e9d8_225b1f0798da -->|calls| 40a9ed99_bfee_98c0_2c97_787bbd5f5ce3 02b5762c_efac_93f7_feaa_4039544caa7d["getDescriptors()"] 65bdb272_af5b_d572_e9d8_225b1f0798da -->|calls| 02b5762c_efac_93f7_feaa_4039544caa7d 925d310b_dcdf_851c_144c_a6a4cee968d6["appendDetails()"] 65bdb272_af5b_d572_e9d8_225b1f0798da -->|calls| 925d310b_dcdf_851c_144c_a6a4cee968d6 1c0a452a_a003_0ab7_8926_72358d1266ed["FailureAnalysis()"] 65bdb272_af5b_d572_e9d8_225b1f0798da -->|calls| 1c0a452a_a003_0ab7_8926_72358d1266ed style 65bdb272_af5b_d572_e9d8_225b1f0798da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/MutuallyExclusiveConfigurationPropertiesFailureAnalyzer.java lines 57–73
@Override
protected @Nullable FailureAnalysis analyze(Throwable rootFailure,
MutuallyExclusiveConfigurationPropertiesException cause) {
List<Descriptor> descriptors = new ArrayList<>();
for (String name : cause.getConfiguredNames()) {
List<Descriptor> descriptorsForName = getDescriptors(name);
if (descriptorsForName.isEmpty()) {
return null;
}
descriptors.addAll(descriptorsForName);
}
StringBuilder description = new StringBuilder();
appendDetails(description, cause, descriptors);
return new FailureAnalysis(description.toString(),
"Update your configuration so that only one of the mutually exclusive properties is configured.",
cause);
}
Domain
Subdomains
Calls
- FailureAnalysis()
- analyze()
- appendDetails()
- getConfiguredNames()
- getDescriptors()
Source
Frequently Asked Questions
What does analyze() do?
analyze() is a function in the spring-boot codebase.
What does analyze() call?
analyze() calls 5 function(s): FailureAnalysis, analyze, appendDetails, getConfiguredNames, getDescriptors.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free