Annotation Interface ConditionalOnResource
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.condition.OnResourceCondition.class)
public @interface ConditionalOnResource
@Conditional that only matches when the specified resources are on
 the classpath.- Since:
- 1.0.0
- Author:
- Dave Syer
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
resourcesString[] resourcesThe resources that must be present.- Returns:
- the resource paths that must be present.
 - Default:
- {}
 
 
-