Annotation Interface ConditionalOnSearchPlatform
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Conditional(OnSearchPlatformCondition.class)
public @interface ConditionalOnSearchPlatform
@Conditional
that only matches when the "search.platform" property in the application config matches the specified search platform (e.g. Lucene or OpenSearch).- Since:
- 8.6
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe search platform that should be checked.
-
Element Details
-
value
SearchPlatform valueThe search platform that should be checked. The condition matches when the "search.platform" property in the application config matches with the specified search platform.- Returns:
- the search platform to check
-