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
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    The resources that must be present.
  • 元素详细资料

    • value

      String[] value
      The resources that must be present.
      返回:
      the resource paths that must be present.
      默认值:
      {}