Home / Function/ withChildren() — spring-boot Function Reference

withChildren() — spring-boot Function Reference

Architecture documentation for the withChildren() function in ConfigDataEnvironmentContributor.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  3952a8a7_1d48_6c84_72f5_4679d59e0e17["withChildren()"]
  f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b["moveProfileSpecificChildren()"]
  f2b62ddb_dc4b_fc67_e8f2_89e7a4b6337b -->|calls| 3952a8a7_1d48_6c84_72f5_4679d59e0e17
  7fdf7a60_5ce8_2732_5bcc_e698c9879c4b["moveProfileSpecific()"]
  3952a8a7_1d48_6c84_72f5_4679d59e0e17 -->|calls| 7fdf7a60_5ce8_2732_5bcc_e698c9879c4b
  a56758ea_d38b_04d6_8d62_7538d6bb55e2["ConfigDataEnvironmentContributor()"]
  3952a8a7_1d48_6c84_72f5_4679d59e0e17 -->|calls| a56758ea_d38b_04d6_8d62_7538d6bb55e2
  style 3952a8a7_1d48_6c84_72f5_4679d59e0e17 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironmentContributor.java lines 271–281

	ConfigDataEnvironmentContributor withChildren(ImportPhase importPhase,
			List<ConfigDataEnvironmentContributor> children) {
		Map<ImportPhase, List<ConfigDataEnvironmentContributor>> updatedChildren = new LinkedHashMap<>(this.children);
		updatedChildren.put(importPhase, children);
		if (importPhase == ImportPhase.AFTER_PROFILE_ACTIVATION) {
			moveProfileSpecific(updatedChildren);
		}
		return new ConfigDataEnvironmentContributor(this.kind, this.location, this.resource,
				this.fromProfileSpecificImport, this.propertySource, this.configurationPropertySource, this.properties,
				this.configDataOptions, updatedChildren, this.conversionService);
	}

Domain

Subdomains

Frequently Asked Questions

What does withChildren() do?
withChildren() is a function in the spring-boot codebase.
What does withChildren() call?
withChildren() calls 2 function(s): ConfigDataEnvironmentContributor, moveProfileSpecific.
What calls withChildren()?
withChildren() is called by 1 function(s): moveProfileSpecificChildren.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free