Class DefaultSolrServerCommandExecutor
java.lang.Object
de.hybris.platform.solrserver.strategies.impl.DefaultSolrServerCommandExecutor
- All Implemented Interfaces:
SolrServerCommandExecutor
Default implementation of
SolrServerCommandExecutor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildExternalCommandClassName(String command) voidexecuteCommand(String command, Map<String, String> configuration) Executes a command.protected voidexecuteExternalCommand(String command, Map<String, String> configuration) voidsetInternalCommands(Map<String, SolrServerCommand> internalCommands)
-
Constructor Details
-
DefaultSolrServerCommandExecutor
public DefaultSolrServerCommandExecutor()
-
-
Method Details
-
getInternalCommands
-
setInternalCommands
-
executeCommand
public void executeCommand(String command, Map<String, String> configuration) throws SolrServerExceptionDescription copied from interface:SolrServerCommandExecutorExecutes a command.- Specified by:
executeCommandin interfaceSolrServerCommandExecutor- Parameters:
command- - the commandconfiguration- - the configuration- Throws:
SolrServerException- if an error occurs during shutdown
-
executeExternalCommand
protected void executeExternalCommand(String command, Map<String, String> configuration) throws SolrServerException- Throws:
SolrServerException
-
buildExternalCommandClassName
-