Annotation Interface ConditionalOnAutoConfiguration


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(AutoConfigurationCondition.class) public @interface ConditionalOnAutoConfiguration
Conditional to check that an auto-configuration class has been configured in the Across application. Does not check where it has been loaded, this can be either on the application itself, or as a module extension.

Condition will only match if all configuration classes are present.

Since:
3.0.0
Author:
Arne Vandamme
  • Element Details

    • classNames

      String[] classNames
      Returns:
      auto-configuration class names
      Default:
      {}
    • classes

      @AliasFor("value") Class<?>[] classes
      Returns:
      auto-configuration class names
      Default:
      {}
    • value

      @AliasFor("classes") Class<?>[] value
      Returns:
      auto-configuration class names
      Default:
      {}