moveProfileSpecificChildren() — spring-boot Function Reference
Architecture documentation for the moveProfileSpecificChildren() function in ConfigDataEnvironmentContributor.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b["moveProfileSpecificChildren()"] 7fdf7a60_5ce8_2732_5bcc_e698c9879c4b["moveProfileSpecific()"] 7fdf7a60_5ce8_2732_5bcc_e698c9879c4b -->|calls| f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b 806deb3a_6eef_e786_b487_5acade28d02c["getChildren()"] f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b -->|calls| 806deb3a_6eef_e786_b487_5acade28d02c 0fb7d91e_a396_e144_eb99_9706beff4a4e["hasConfigDataOption()"] f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b -->|calls| 0fb7d91e_a396_e144_eb99_9706beff4a4e 9ab0b913_2333_0ad4_90d1_04e175effbe8["withoutConfigDataOption()"] f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b -->|calls| 9ab0b913_2333_0ad4_90d1_04e175effbe8 3952a8a7_1d48_6c84_72f5_4679d59e0e17["withChildren()"] f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b -->|calls| 3952a8a7_1d48_6c84_72f5_4679d59e0e17 style f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributor.java lines 298–314
private ConfigDataEnvironmentContributor moveProfileSpecificChildren(ConfigDataEnvironmentContributor contributor,
List<ConfigDataEnvironmentContributor> removed) {
for (ImportPhase importPhase : ImportPhase.values()) {
List<ConfigDataEnvironmentContributor> children = contributor.getChildren(importPhase);
List<ConfigDataEnvironmentContributor> updatedChildren = new ArrayList<>(children.size());
for (ConfigDataEnvironmentContributor child : children) {
if (child.hasConfigDataOption(ConfigData.Option.PROFILE_SPECIFIC)) {
removed.add(child.withoutConfigDataOption(ConfigData.Option.PROFILE_SPECIFIC));
}
else {
updatedChildren.add(child);
}
}
contributor = contributor.withChildren(importPhase, updatedChildren);
}
return contributor;
}
Domain
Subdomains
Calls
- getChildren()
- hasConfigDataOption()
- withChildren()
- withoutConfigDataOption()
Called By
Source
Frequently Asked Questions
What does moveProfileSpecificChildren() do?
moveProfileSpecificChildren() is a function in the spring-boot codebase.
What does moveProfileSpecificChildren() call?
moveProfileSpecificChildren() calls 4 function(s): getChildren, hasConfigDataOption, withChildren, withoutConfigDataOption.
What calls moveProfileSpecificChildren()?
moveProfileSpecificChildren() is called by 1 function(s): moveProfileSpecific.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free