Annotation Type ConditionalOnProperty
Constructs this bean only when a configuration key has a value.
With havingValue() empty, any value other than false counts. Evaluated
once at start-up, like Profile, and checked by the build the same way.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
name
-
prefix
-
havingValue
String havingValueThe value to require, compared ignoring case. Empty means anything butfalse.- Default:
""
-
matchIfMissing
boolean matchIfMissingWhether an unset key counts as a match.- Default:
false
-