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

isActiveAgainstBoundData() — spring-boot Function Reference

Architecture documentation for the isActiveAgainstBoundData() function in ConfigDataPropertiesTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  941bf771_f029_da7b_4be5_55fb4bc2b196["isActiveAgainstBoundData()"]
  6b13a440_b8c4_f4d4_0bc2_c932b8debc75["MapConfigurationPropertySource()"]
  941bf771_f029_da7b_4be5_55fb4bc2b196 -->|calls| 6b13a440_b8c4_f4d4_0bc2_c932b8debc75
  4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"]
  941bf771_f029_da7b_4be5_55fb4bc2b196 -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6
  bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"]
  941bf771_f029_da7b_4be5_55fb4bc2b196 -->|calls| bdf1886c_19f9_9cc1_5bff_886f1b1e2835
  c90d60de_6e4d_b157_5121_acbc78d427f0["get()"]
  941bf771_f029_da7b_4be5_55fb4bc2b196 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0
  7785d98a_1ccf_9b09_91bd_465da4d9bce1["createTestProfiles()"]
  941bf771_f029_da7b_4be5_55fb4bc2b196 -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1
  style 941bf771_f029_da7b_4be5_55fb4bc2b196 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesTests.java lines 168–179

	@Test
	void isActiveAgainstBoundData() {
		MapConfigurationPropertySource source = new MapConfigurationPropertySource();
		source.put("spring.config.activate.on-cloud-platform", "kubernetes");
		source.put("spring.config.activate.on-profile", "a | b");
		Binder binder = new Binder(source);
		ConfigDataProperties properties = ConfigDataProperties.get(binder);
		ConfigDataActivationContext context = new ConfigDataActivationContext(CloudPlatform.KUBERNETES,
				createTestProfiles());
		assertThat(properties).isNotNull();
		assertThat(properties.isActive(context)).isTrue();
	}

Domain

Subdomains

Frequently Asked Questions

What does isActiveAgainstBoundData() do?
isActiveAgainstBoundData() is a function in the spring-boot codebase.
What does isActiveAgainstBoundData() call?
isActiveAgainstBoundData() calls 5 function(s): Binder, MapConfigurationPropertySource, createTestProfiles, get, put.

Analyze Your Own Codebase

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

Try Supermodel Free