@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Repeatable(value=ConditionalOnAppProperties.class) @Conditional(value=OnConfigPropertyCondition.class) public @interface ConditionalOnAppProperty
NOTE: Inheritance of @ConditionalOnAppProperty
annotations is not supported;
any conditions from superclasses or from overridden methods will not be considered.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
property |
java.lang.String |
value |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
defaultValue |