Package org.codice.ddf.commands.solr
Class RestoreCommand
java.lang.Object
org.codice.ddf.commands.catalog.CommandSupport
org.codice.ddf.commands.solr.SolrCommands
org.codice.ddf.commands.solr.RestoreCommand
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected booleanFields inherited from class org.codice.ddf.commands.solr.SolrCommands
CLOUD_SOLR_CLIENT_TYPE, configurationAdmin, configurationMap, DEFAULT_CORE_NAME, LOGGER, NAMESPACE, SEE_COMMAND_USAGE_MESSAGE, SOLR_CLIENT_PROP, SYSTEM_PROPERTIES_PATH, ZOOKEEPER_HOSTS_PROPFields inherited from class org.codice.ddf.commands.catalog.CommandSupport
console, MS_PER_SECOND -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codice.ddf.commands.solr.SolrCommands
collectionExists, getBackupUrl, getCloudSolrClient, getCoreUrl, getReplicationUrl, getSolrDataDir, isSolrClientAvailable, isSystemConfiguredWithSolrCloud, optimizeCollection, printColor, printErrorMessage, printInfoMessage, printResponseErrorMessages, printStatus, printSuccessMessage, setConfigurationAdmin, shutdownMethods inherited from class org.codice.ddf.commands.catalog.CommandSupport
calculateRecordsPerSecond, printHeaderMessage, printProgressAndFlush
-
Field Details
-
backupLocation
-
backupName
-
coreName
-
status
protected boolean status -
requestId
-
asyncRestore
protected boolean asyncRestore -
force
protected boolean force
-
-
Constructor Details
-
RestoreCommand
public RestoreCommand()
-
-
Method Details
-
execute
- Throws:
Exception
-