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

hasAnyProfileSpecificChildren() — spring-boot Function Reference

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

Function java GradlePlugin DslExtensions calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  9731b8ec_ad6e_21b4_2066_143916402074["hasAnyProfileSpecificChildren()"]
  7fdf7a60_5ce8_2732_5bcc_e698c9879c4b["moveProfileSpecific()"]
  7fdf7a60_5ce8_2732_5bcc_e698c9879c4b -->|calls| 9731b8ec_ad6e_21b4_2066_143916402074
  806deb3a_6eef_e786_b487_5acade28d02c["getChildren()"]
  9731b8ec_ad6e_21b4_2066_143916402074 -->|calls| 806deb3a_6eef_e786_b487_5acade28d02c
  5501919a_ddec_bec2_7920_79c5d512e360["stream()"]
  9731b8ec_ad6e_21b4_2066_143916402074 -->|calls| 5501919a_ddec_bec2_7920_79c5d512e360
  0fb7d91e_a396_e144_eb99_9706beff4a4e["hasConfigDataOption()"]
  9731b8ec_ad6e_21b4_2066_143916402074 -->|calls| 0fb7d91e_a396_e144_eb99_9706beff4a4e
  style 9731b8ec_ad6e_21b4_2066_143916402074 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Contract("null -> false")
	private boolean hasAnyProfileSpecificChildren(@Nullable List<ConfigDataEnvironmentContributor> contributors) {
		if (CollectionUtils.isEmpty(contributors)) {
			return false;
		}
		for (ConfigDataEnvironmentContributor contributor : contributors) {
			for (ImportPhase importPhase : ImportPhase.values()) {
				if (contributor.getChildren(importPhase)
					.stream()
					.anyMatch((child) -> child.hasConfigDataOption(ConfigData.Option.PROFILE_SPECIFIC))) {
					return true;
				}
			}
		}
		return false;
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does hasAnyProfileSpecificChildren() do?
hasAnyProfileSpecificChildren() is a function in the spring-boot codebase.
What does hasAnyProfileSpecificChildren() call?
hasAnyProfileSpecificChildren() calls 3 function(s): getChildren, hasConfigDataOption, stream.
What calls hasAnyProfileSpecificChildren()?
hasAnyProfileSpecificChildren() 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