Annotation Type ConditionalOnExpression
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(org.springframework.boot.autoconfigure.condition.OnExpressionCondition.class) public @interface ConditionalOnExpression
Configuration annotation for a conditional element that depends on the value of a SpEL expression.