Class RemoveSettingsCommand
java.lang.Object
org.elasticsearch.cli.Command
org.elasticsearch.cli.EnvironmentAwareCommand
org.elasticsearch.cluster.coordination.ElasticsearchNodeCommand
org.elasticsearch.cluster.coordination.RemoveSettingsCommand
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class RemoveSettingsCommand extends ElasticsearchNodeCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.cluster.coordination.ElasticsearchNodeCommand
ElasticsearchNodeCommand.UnknownCondition, ElasticsearchNodeCommand.UnknownMetadataCustom
-
Field Summary
Fields inherited from class org.elasticsearch.cluster.coordination.ElasticsearchNodeCommand
ABORTED_BY_USER_MSG, CS_MISSING_MSG, DELIMITER, FAILED_TO_OBTAIN_NODE_LOCK_MSG, namedXContentRegistry
Fields inherited from class org.elasticsearch.cli.Command
description, parser
-
Constructor Summary
Constructors Constructor Description RemoveSettingsCommand()
-
Method Summary
Modifier and Type Method Description protected void
processNodePaths(org.elasticsearch.cli.Terminal terminal, java.nio.file.Path[] dataPaths, int nodeLockId, joptsimple.OptionSet options, Environment env)
Process the paths.Methods inherited from class org.elasticsearch.cluster.coordination.ElasticsearchNodeCommand
clusterState, confirm, createPersistedClusterStateService, execute, loadTermAndClusterState, processNodePaths, toNodePaths, validateBeforeLock
Methods inherited from class org.elasticsearch.cli.EnvironmentAwareCommand
createEnv, createEnv, execute
Methods inherited from class org.elasticsearch.cli.Command
addShutdownHook, close, exit, main, printAdditionalHelp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RemoveSettingsCommand
public RemoveSettingsCommand()
-
-
Method Details
-
processNodePaths
protected void processNodePaths(org.elasticsearch.cli.Terminal terminal, java.nio.file.Path[] dataPaths, int nodeLockId, joptsimple.OptionSet options, Environment env) throws java.io.IOException, org.elasticsearch.cli.UserExceptionDescription copied from class:ElasticsearchNodeCommand
Process the paths. Locks for the paths is held during this method invocation.- Specified by:
processNodePaths
in classElasticsearchNodeCommand
- Parameters:
terminal
- the terminal to use for messagesdataPaths
- the paths of the node to processoptions
- the command line optionsenv
- the env of the node to process- Throws:
java.io.IOException
org.elasticsearch.cli.UserException
-