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

customPropertiesEndpoint() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b622df0d_f3c8_7209_008e_f144a1fd7544["customPropertiesEndpoint()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  70751124_3e92_ed3e_7f93_61d2e98490d3["ofType()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681
  525878df_aaac_a261_8c5d_13633f714c2c["access()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| 525878df_aaac_a261_8c5d_13633f714c2c
  75ef14b3_32fe_e68e_87cc_2720b865a960["cacheTtl()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| 75ef14b3_32fe_e68e_87cc_2720b865a960
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style b622df0d_f3c8_7209_008e_f144a1fd7544 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 96–107

	@Test
	void customPropertiesEndpoint() {
		ConfigurationMetadata metadata = compile(CustomPropertiesEndpoint.class);
		assertThat(metadata)
			.has(Metadata.withGroup("management.endpoint.customprops").fromSource(CustomPropertiesEndpoint.class));
		assertThat(metadata).has(Metadata.withProperty("management.endpoint.customprops.name")
			.ofType(String.class)
			.withDefaultValue("test"));
		assertThat(metadata).has(access("customprops", TestAccess.UNRESTRICTED));
		assertThat(metadata).has(cacheTtl("customprops"));
		assertThat(metadata.getItems()).hasSize(4);
	}

Domain

Subdomains

Frequently Asked Questions

What does customPropertiesEndpoint() do?
customPropertiesEndpoint() is a function in the spring-boot codebase.
What does customPropertiesEndpoint() call?
customPropertiesEndpoint() calls 8 function(s): access, cacheTtl, fromSource, getItems, ofType, withDefaultValue, withGroup, withProperty.

Analyze Your Own Codebase

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

Try Supermodel Free