elasticsearch/libs/plugin-api
Przemyslaw Gomulka 742c6f3f8b
Example stable plugins with settings (#92334)
New stable plugins example with injected settings.
Plugin developer creates an interface and annotates it with @AnalysisSettings.
The constructor in a plugin component (annotated with @NamedComponent) has to be annotated with @Inject
Upon plugin component creation an implementation of the interface will be created - a dynamic proxy - which will delegate methods from interface to properties in a Settings instance.
This PR introduces an example of using all currently supported types : int, long, double, string and list (of strings)
relates ##88980
2023-01-11 18:04:14 +01:00
..
src/main/java Example stable plugins with settings (#92334) 2023-01-11 18:04:14 +01:00
build.gradle Stable Plugin API modules and analysis interfaces (#88775) 2022-08-30 11:04:39 +02:00