Annotation Interface ConditionalOnResource
@Retention(RUNTIME)
@Conditional(cn.taketoday.context.condition.OnResourceCondition.class)
@Target({TYPE,METHOD})
public @interface ConditionalOnResource
Conditional that only matches when the specified resources are exits- 作者:
- TODAY
2019-06-18 15:07
-
可选元素概要
可选元素
-
元素详细资料
-
value
String[] valueThe resources that must be present.- 返回:
- the resource paths that must be present.
- 默认值:
- {}
-