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

enabledEndpoint() — spring-boot Function Reference

Architecture documentation for the enabledEndpoint() function in EndpointMetadataGenerationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c8e41c03_2c6c_54ff_6dde_8b03ba54b8bb["enabledEndpoint()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  c8e41c03_2c6c_54ff_6dde_8b03ba54b8bb -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  c8e41c03_2c6c_54ff_6dde_8b03ba54b8bb -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  525878df_aaac_a261_8c5d_13633f714c2c["access()"]
  c8e41c03_2c6c_54ff_6dde_8b03ba54b8bb -->|calls| 525878df_aaac_a261_8c5d_13633f714c2c
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  c8e41c03_2c6c_54ff_6dde_8b03ba54b8bb -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style c8e41c03_2c6c_54ff_6dde_8b03ba54b8bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/EndpointMetadataGenerationTests.java lines 62–68

	@Test
	void enabledEndpoint() {
		ConfigurationMetadata metadata = compile(EnabledEndpoint.class);
		assertThat(metadata).has(Metadata.withGroup("management.endpoint.enabled").fromSource(EnabledEndpoint.class));
		assertThat(metadata).has(access("enabled", TestAccess.UNRESTRICTED));
		assertThat(metadata.getItems()).hasSize(2);
	}

Domain

Subdomains

Frequently Asked Questions

What does enabledEndpoint() do?
enabledEndpoint() is a function in the spring-boot codebase.
What does enabledEndpoint() call?
enabledEndpoint() calls 4 function(s): access, fromSource, getItems, withGroup.

Analyze Your Own Codebase

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

Try Supermodel Free