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

getProperty() — spring-boot Function Reference

Architecture documentation for the getProperty() function in RandomValuePropertySource.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  b3cee6d6_bfc9_cb5a_bdae_1169893d7d94["getProperty()"]
  181432b0_8bbe_79b2_c224_e2eeea3a6ec6["shouldFlattenEnvironment()"]
  181432b0_8bbe_79b2_c224_e2eeea3a6ec6 -->|calls| b3cee6d6_bfc9_cb5a_bdae_1169893d7d94
  19b58f82_9b4f_f8c2_df5b_8e2517710bba["loadWhenBindingWithParentContextShouldBind()"]
  19b58f82_9b4f_f8c2_df5b_8e2517710bba -->|calls| b3cee6d6_bfc9_cb5a_bdae_1169893d7d94
  383d22e1_d782_5263_db71_52cac58d329d["getRandomValue()"]
  b3cee6d6_bfc9_cb5a_bdae_1169893d7d94 -->|calls| 383d22e1_d782_5263_db71_52cac58d329d
  style b3cee6d6_bfc9_cb5a_bdae_1169893d7d94 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/env/RandomValuePropertySource.java lines 85–92

	@Override
	public @Nullable Object getProperty(String name) {
		if (!name.startsWith(PREFIX)) {
			return null;
		}
		logger.trace(LogMessage.format("Generating random property for '%s'", name));
		return getRandomValue(name.substring(PREFIX.length()));
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getProperty() do?
getProperty() is a function in the spring-boot codebase.
What does getProperty() call?
getProperty() calls 1 function(s): getRandomValue.
What calls getProperty()?
getProperty() is called by 2 function(s): loadWhenBindingWithParentContextShouldBind, shouldFlattenEnvironment.

Analyze Your Own Codebase

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

Try Supermodel Free