Annotation ConditionalWingsEnabled
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME)@Target(value = {ElementType.TYPE, ElementType.METHOD})@Documented()@Conditional(value = WingsEnabledCondition.class) public @interface ConditionalWingsEnabled
enhanced `@Conditional(WingsEnabledCondition.class)` to dynamically disable `@Configuration`, `@Bean` and `@Component` by properties. `true` only if `this && and1 && and2 && !not1 && !not2` the key priority from high to low - qualified-key = `prefix` + `ClassName` + `methodName`? - absolute-key = `abs()` - relative-key = `prefix` + `key()` - default = `value()`- Since:
2023-11-17
trydofor
-
-
Method Summary
Modifier and Type Method Description abstract Stringabs()absolute-key, without prefix, priority lower then qualified-key abstract Stringkey()relative-key, with prefix, priority lower then absolute-key abstract booleanvalue()default value, the lowest priority, if no property found abstract Array<Class<out Object>>and()narrow this and others properties (or annotation). abstract Array<Class<out Object>>not()narrow this and not others properties (or annotation).
-