Interface ActionPlugin

All Known Subinterfaces:
SystemIndexPlugin

public interface ActionPlugin
An additional extension point for Plugins that extends Elasticsearch's scripting functionality. Implement it like this:

   {@literal @}Override
   public List<ActionHandler<?, ?>> getActions() {
       return Arrays.asList(new ActionHandler<>(ReindexAction.INSTANCE, TransportReindexAction.class),
               new ActionHandler<>(UpdateByQueryAction.INSTANCE, TransportUpdateByQueryAction.class),
               new ActionHandler<>(DeleteByQueryAction.INSTANCE, TransportDeleteByQueryAction.class),
               new ActionHandler<>(RethrottleAction.INSTANCE, TransportRethrottleAction.class));
   }