@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@Conditional(value=OnMissingPropertyCondition.class)
public @interface ConditionalOnMissingProperty
ConditionalOnMissingProperty annotation is a Spring Conditional used to conditionally enable
or disable functionality based on the absence of any declared properties.Conditional@AliasFor(value="value") public abstract java.lang.String[] name
names of the properties to test.
If a prefix has been defined, it is applied to compute the full key of each property.
For instance, if the prefix is app.config and one value is my-value,
the full key would be app.config.my-value.
Use dashed notation to specify each property, that is all lower case with a "-" to separate words
(e.g. my-long-property).names of the properties to test.prefix()public abstract java.lang.String prefix
prefix that should be applied to each property.
The prefix automatically ends with a dot if not specified. A valid prefix
is defined by one or more words separated with dots (e.g. "acme.system.feature").prefix.name()