matchingPropertySource() — spring-boot Function Reference
Architecture documentation for the matchingPropertySource() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 6e69498f_9e4b_668b_1683_67bcc2555f34["matchingPropertySource()"] 3356818f_1d5c_3d38_e910_4ab7090367d4["commandLinePropertySource()"] 3356818f_1d5c_3d38_e910_4ab7090367d4 -->|calls| 6e69498f_9e4b_668b_1683_67bcc2555f34 6cab1961_31ea_6f51_7ced_1b916c5a5a2b["commandLinePropertySourceEnhancesEnvironment()"] 6cab1961_31ea_6f51_7ced_1b916c5a5a2b -->|calls| 6e69498f_9e4b_668b_1683_67bcc2555f34 d9dbdeed_34f9_1568_be3e_82a2cce3bf5d["disableCommandLinePropertySource()"] d9dbdeed_34f9_1568_be3e_82a2cce3bf5d -->|calls| 6e69498f_9e4b_668b_1683_67bcc2555f34 26640d57_69c1_a220_7428_6c3de4cab3f3["matches()"] 6e69498f_9e4b_668b_1683_67bcc2555f34 -->|calls| 26640d57_69c1_a220_7428_6c3de4cab3f3 style 6e69498f_9e4b_668b_1683_67bcc2555f34 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 1506–1522
private Condition<ConfigurableEnvironment> matchingPropertySource(final Class<?> propertySourceClass,
final String name) {
return new Condition<>("has property source") {
@Override
public boolean matches(ConfigurableEnvironment value) {
for (PropertySource<?> source : value.getPropertySources()) {
if (propertySourceClass.isInstance(source) && (name == null || name.equals(source.getName()))) {
return true;
}
}
return false;
}
};
}
Domain
Subdomains
Calls
Called By
- commandLinePropertySource()
- commandLinePropertySourceEnhancesEnvironment()
- disableCommandLinePropertySource()
Source
Frequently Asked Questions
What does matchingPropertySource() do?
matchingPropertySource() is a function in the spring-boot codebase.
What does matchingPropertySource() call?
matchingPropertySource() calls 1 function(s): matches.
What calls matchingPropertySource()?
matchingPropertySource() is called by 3 function(s): commandLinePropertySource, commandLinePropertySourceEnhancesEnvironment, disableCommandLinePropertySource.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free