@Test public void unknownCoreNameInEnableIndexingCommand_shouldReturnAnErrorResponse() { String unknownCoreName = "ThisShouldBeAnInexistentCore"; CORE_PARAMETER_NAMES.forEach(parameter -> { params.set(parameter, unknownCoreName); NamedList<?> response = admin.actionEnableIndexing(params); assertEquals(UNKNOWN_CORE_MESSAGE + unknownCoreName, response.get(ACTION_ERROR_MESSAGE_LABEL)); }); }
NamedList<Object> actionEnableIndexing(SolrParams params) throws JSONException { return executeTrackerSubsystemLifecycleAction(params, this::enableIndexingOnSpecificCore); }
AlfrescoCoreAdminHandler extends CoreAdminHandler { NamedList<Object> actionEnableIndexing(SolrParams params) throws JSONException { return executeTrackerSubsystemLifecycleAction(params, this::enableIndexingOnSpecificCore); } }
AlfrescoCoreAdminHandler extends CoreAdminHandler { NamedList<Object> actionEnableIndexing(SolrParams params) throws JSONException { return executeTrackerSubsystemLifecycleAction(params, this::enableIndexingOnSpecificCore); } AlfrescoCoreAdminHandler();  AlfrescoCoreAdminHandler(CoreContainer coreContainer); }
AlfrescoCoreAdminHandler extends CoreAdminHandler { NamedList<Object> actionEnableIndexing(SolrParams params) throws JSONException { return executeTrackerSubsystemLifecycleAction(params, this::enableIndexingOnSpecificCore); } AlfrescoCoreAdminHandler();  AlfrescoCoreAdminHandler(CoreContainer coreContainer); @Override void shutdown(); ConcurrentHashMap<String, InformationServer> getInformationServers(); TrackerRegistry getTrackerRegistry(); SolrTrackerScheduler getScheduler(); }
AlfrescoCoreAdminHandler extends CoreAdminHandler { NamedList<Object> actionEnableIndexing(SolrParams params) throws JSONException { return executeTrackerSubsystemLifecycleAction(params, this::enableIndexingOnSpecificCore); } AlfrescoCoreAdminHandler();  AlfrescoCoreAdminHandler(CoreContainer coreContainer); @Override void shutdown(); ConcurrentHashMap<String, InformationServer> getInformationServers(); TrackerRegistry getTrackerRegistry(); SolrTrackerScheduler getScheduler(); static final String ALFRESCO_DEFAULTS; }