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

propertyExclusionsAreApplied() — spring-boot Function Reference

Architecture documentation for the propertyExclusionsAreApplied() function in AutoConfigurationImportSelectorTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  ee0c3516_f317_3c62_6446_ed3136ca9bbf["propertyExclusionsAreApplied()"]
  71be4117_6361_ac8a_b7bc_57c820dea18e["selectImports()"]
  ee0c3516_f317_3c62_6446_ed3136ca9bbf -->|calls| 71be4117_6361_ac8a_b7bc_57c820dea18e
  fe6b6f5b_1914_289c_7ec3_e6fa89b9425c["getAutoConfigurationClassNames()"]
  ee0c3516_f317_3c62_6446_ed3136ca9bbf -->|calls| fe6b6f5b_1914_289c_7ec3_e6fa89b9425c
  b5fce751_ecc3_5421_d24a_cd569e0556d2["getLastEvent()"]
  ee0c3516_f317_3c62_6446_ed3136ca9bbf -->|calls| b5fce751_ecc3_5421_d24a_cd569e0556d2
  style ee0c3516_f317_3c62_6446_ed3136ca9bbf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/AutoConfigurationImportSelectorTests.java lines 118–124

	@Test
	void propertyExclusionsAreApplied() {
		this.environment.setProperty("spring.autoconfigure.exclude", "com.example.three.ThirdAutoConfiguration");
		String[] imports = selectImports(BasicEnableAutoConfiguration.class);
		assertThat(imports).hasSize(getAutoConfigurationClassNames().size() - 1);
		assertThat(getLastEvent().getExclusions()).contains("com.example.three.ThirdAutoConfiguration");
	}

Domain

Subdomains

Frequently Asked Questions

What does propertyExclusionsAreApplied() do?
propertyExclusionsAreApplied() is a function in the spring-boot codebase.
What does propertyExclusionsAreApplied() call?
propertyExclusionsAreApplied() calls 3 function(s): getAutoConfigurationClassNames, getLastEvent, selectImports.

Analyze Your Own Codebase

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

Try Supermodel Free