@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@Conditional(value=org.springframework.boot.autoconfigure.condition.OnClassCondition.class)
public @interface ConditionalOnMissingClass
@Conditional
that only matches when the specified classes are not
on the classpath.Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
value
The names of the classes that must not be present.
|