/* Invoked on component assembly. */ public void onModule(ActionModule actionModule) { if (pluginEnabled) { actionModule.registerAction(ClusteringAction.INSTANCE, TransportClusteringAction.class); actionModule.registerAction( ListAlgorithmsAction.INSTANCE, ListAlgorithmsAction.TransportListAlgorithmsAction.class); } }
@Override public void processModule(Module module) { if (module instanceof FacetModule) { ((FacetModule) module).addFacetProcessor(FacetedDateHistogramFacetProcessor.class); ((FacetModule) module).addFacetProcessor(HashedStringFacetProcessor.class); } if (module instanceof ActionModule) { ((ActionModule) module) .registerAction( CacheStatsPerFieldAction.INSTANCE, TransportCacheStatsPerFieldAction.class); } if (module instanceof RestModule) { ((RestModule) module).addRestAction(RestCacheStatsPerFieldAction.class); } }
public void onModule(ActionModule module) { module.registerAction(TestTaskAction.INSTANCE, TransportTestTaskAction.class); module.registerAction(UnblockTestTasksAction.INSTANCE, TransportUnblockTestTasksAction.class); }
public void onModule(ActionModule module) { module.registerAction(IngestAction.INSTANCE, TransportIngestAction.class); }