Annotation Interface ConditionalOnExpression
@Retention(RUNTIME)
@Conditional(cn.taketoday.context.condition.OnExpressionCondition.class)
@Target({TYPE,METHOD})
public @interface ConditionalOnExpression
annotation for a conditional element that depends on the value of a Java
Unified Expression Language
- 作者:
- TODAY
2019-06-18 15:11
-
可选元素概要
可选元素
-
元素详细资料
-
value
String valueThe Expression Language expression to evaluate. Expression should returntrueif the condition passes orfalseif it fails.- 返回:
- the El expression
- 默认值:
- "true"
-