Annotation Interface ConditionalOnMissingClass
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.condition.OnClassCondition.class)
public @interface ConditionalOnMissingClass
@Conditional
that only matches when the specified classes are not
on the classpath.- Since:
- 1.0.0
- Author:
- Dave Syer
-
Optional Element Summary
-
Element Details
-
value
String[] valueThe names of the classes that must not be present.- Returns:
- the names of the classes that must not be present
- Default:
- {}
-