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

isEnabled() — spring-boot Function Reference

Architecture documentation for the isEnabled() function in AutoConfigurationImportSelector.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  a86ce8c5_4e82_b07b_e92c_8d19856ce16c["isEnabled()"]
  cdf17a2a_3540_efaf_b3d2_825ee52a622d["selectImports()"]
  cdf17a2a_3540_efaf_b3d2_825ee52a622d -->|calls| a86ce8c5_4e82_b07b_e92c_8d19856ce16c
  2b819520_cb0d_6d14_607c_2d5f769419bd["getAutoConfigurationEntry()"]
  2b819520_cb0d_6d14_607c_2d5f769419bd -->|calls| a86ce8c5_4e82_b07b_e92c_8d19856ce16c
  cb49735c_8f92_2689_a995_250e97dfa12f["getEnvironment()"]
  a86ce8c5_4e82_b07b_e92c_8d19856ce16c -->|calls| cb49735c_8f92_2689_a995_250e97dfa12f
  style a86ce8c5_4e82_b07b_e92c_8d19856ce16c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationImportSelector.java lines 162–167

	protected boolean isEnabled(AnnotationMetadata metadata) {
		if (getClass() == AutoConfigurationImportSelector.class) {
			return getEnvironment().getProperty(EnableAutoConfiguration.ENABLED_OVERRIDE_PROPERTY, Boolean.class, true);
		}
		return true;
	}

Domain

Subdomains

Calls

  • getEnvironment()

Frequently Asked Questions

What does isEnabled() do?
isEnabled() is a function in the spring-boot codebase.
What does isEnabled() call?
isEnabled() calls 1 function(s): getEnvironment.
What calls isEnabled()?
isEnabled() is called by 2 function(s): getAutoConfigurationEntry, selectImports.

Analyze Your Own Codebase

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

Try Supermodel Free