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

incrementalEndpointBuildChangeDefaultAccess() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d009ae15_94bb_7105_7ee8_ead56242a813["incrementalEndpointBuildChangeDefaultAccess()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  d009ae15_94bb_7105_7ee8_ead56242a813 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  d009ae15_94bb_7105_7ee8_ead56242a813 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  525878df_aaac_a261_8c5d_13633f714c2c["access()"]
  d009ae15_94bb_7105_7ee8_ead56242a813 -->|calls| 525878df_aaac_a261_8c5d_13633f714c2c
  75ef14b3_32fe_e68e_87cc_2720b865a960["cacheTtl()"]
  d009ae15_94bb_7105_7ee8_ead56242a813 -->|calls| 75ef14b3_32fe_e68e_87cc_2720b865a960
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  d009ae15_94bb_7105_7ee8_ead56242a813 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style d009ae15_94bb_7105_7ee8_ead56242a813 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 127–144

	@Test
	void incrementalEndpointBuildChangeDefaultAccess() {
		TestProject project = new TestProject(IncrementalEndpoint.class);
		ConfigurationMetadata metadata = project.compile();
		assertThat(metadata)
			.has(Metadata.withGroup("management.endpoint.incremental").fromSource(IncrementalEndpoint.class));
		assertThat(metadata).has(access("incremental", TestAccess.UNRESTRICTED));
		assertThat(metadata).has(cacheTtl("incremental"));
		assertThat(metadata.getItems()).hasSize(3);
		project.replaceText(IncrementalEndpoint.class, "id = \"incremental\"",
				"id = \"incremental\", defaultAccess = org.springframework.boot.configurationsample.TestAccess.NONE");
		metadata = project.compile();
		assertThat(metadata)
			.has(Metadata.withGroup("management.endpoint.incremental").fromSource(IncrementalEndpoint.class));
		assertThat(metadata).has(access("incremental", TestAccess.NONE));
		assertThat(metadata).has(cacheTtl("incremental"));
		assertThat(metadata.getItems()).hasSize(3);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free