defaultAccess() — spring-boot Function Reference
Architecture documentation for the defaultAccess() function in EndpointMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD cd667486_6216_4e28_9508_41322ef89e2d["defaultAccess()"] 07498a2c_8498_170e_8f78_8c4b16ee6aad["camelCaseEndpoint()"] 07498a2c_8498_170e_8f78_8c4b16ee6aad -->|calls| cd667486_6216_4e28_9508_41322ef89e2d adb42b89_3f6a_de8a_4812_24bf36bf7793["shouldTolerateEndpointWithSameId()"] adb42b89_3f6a_de8a_4812_24bf36bf7793 -->|calls| cd667486_6216_4e28_9508_41322ef89e2d 525878df_aaac_a261_8c5d_13633f714c2c["access()"] 525878df_aaac_a261_8c5d_13633f714c2c -->|calls| cd667486_6216_4e28_9508_41322ef89e2d 43acb33d_f03c_1dc7_688b_4aba2450b3dc["withAccess()"] cd667486_6216_4e28_9508_41322ef89e2d -->|calls| 43acb33d_f03c_1dc7_688b_4aba2450b3dc 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] cd667486_6216_4e28_9508_41322ef89e2d -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] cd667486_6216_4e28_9508_41322ef89e2d -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 style cd667486_6216_4e28_9508_41322ef89e2d 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 212–217
private Metadata.MetadataItemCondition defaultAccess(String endpointId, String endpointSuffix,
TestAccess defaultValue) {
return Metadata.withAccess("management.endpoint." + endpointSuffix + ".access")
.withDefaultValue(defaultValue.name().toLowerCase(Locale.ENGLISH))
.withDescription("Permitted level of access for the %s endpoint.".formatted(endpointId));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does defaultAccess() do?
defaultAccess() is a function in the spring-boot codebase.
What does defaultAccess() call?
defaultAccess() calls 3 function(s): withAccess, withDefaultValue, withDescription.
What calls defaultAccess()?
defaultAccess() is called by 3 function(s): access, camelCaseEndpoint, shouldTolerateEndpointWithSameId.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free