Clarify that all named properties must match for @ConditionalOnProperty to match

Closes gh-40110
This commit is contained in:
Moritz Halbritter
2024-04-22 14:27:54 +02:00
parent 1476d8d9c5
commit 5510c6f61b
2 changed files with 6 additions and 1 deletions

View File

@@ -114,6 +114,8 @@ Use the `prefix` and `name` attributes to specify the property that should be ch
By default, any property that exists and is not equal to `false` is matched.
You can also create more advanced checks by using the `havingValue` and `matchIfMissing` attributes.
If multiple names are given in the `name` attribute, all of the properties have to pass the test for the condition to match.
[[features.developing-auto-configuration.condition-annotations.resource-conditions]]