because() — spring-boot Function Reference
Architecture documentation for the because() function in ConditionMessage.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c["because()"] 4b1fb0af_de60_97d8_bec1_7a87317baf23["resultedIn()"] 4b1fb0af_de60_97d8_bec1_7a87317baf23 -->|calls| 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c b112729a_edd9_be92_be00_85d1d5bcff23["available()"] b112729a_edd9_be92_be00_85d1d5bcff23 -->|calls| 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c bca6db27_a246_8710_6df2_6f342c254cda["notAvailable()"] bca6db27_a246_8710_6df2_6f342c254cda -->|calls| 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c cda33899_fd39_7aab_217d_1e0555883860["items()"] cda33899_fd39_7aab_217d_1e0555883860 -->|calls| 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c 7de66c4e_9414_a4da_bd17_0dc6fa4697ff["getMatchOutcome()"] 7de66c4e_9414_a4da_bd17_0dc6fa4697ff -->|calls| 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c 395ffeeb_ea3f_f490_89bd_75c6a72c5571["getMatchOutcome()"] 395ffeeb_ea3f_f490_89bd_75c6a72c5571 -->|calls| 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c 818c111e_6911_4f9e_d5ad_d66cdf467c5a["ConditionMessage()"] 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c -->|calls| 818c111e_6911_4f9e_d5ad_d66cdf467c5a style 5a1c2028_4a8a_cc42_55f6_96a2d5122a9c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionMessage.java lines 301–307
public ConditionMessage because(@Nullable String reason) {
if (StringUtils.hasLength(reason)) {
return new ConditionMessage(ConditionMessage.this,
StringUtils.hasLength(this.condition) ? this.condition + " " + reason : reason);
}
return new ConditionMessage(ConditionMessage.this, this.condition);
}
Domain
Subdomains
Calls
Called By
- available()
- getMatchOutcome()
- getMatchOutcome()
- items()
- notAvailable()
- resultedIn()
Source
Frequently Asked Questions
What does because() do?
because() is a function in the spring-boot codebase.
What does because() call?
because() calls 1 function(s): ConditionMessage.
What calls because()?
because() is called by 6 function(s): available, getMatchOutcome, getMatchOutcome, items, notAvailable, resultedIn.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free