Annotation Type 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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The names of the classes that must not be present.
  • Element Details

    • value

      String[] value
      The names of the classes that must not be present.
      Returns:
      the names of the classes that must not be present
      Default:
      {}