Class UpgradeKeyStoreCommand
- java.lang.Object
-
- org.elasticsearch.cli.Command
-
- org.elasticsearch.cli.EnvironmentAwareCommand
-
- org.elasticsearch.common.settings.UpgradeKeyStoreCommand
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class UpgradeKeyStoreCommand extends EnvironmentAwareCommand
A sub-command for the keystore CLI that enables upgrading the keystore format.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.cli.Command
description, parser
-
-
Method Summary
Modifier and Type Method Description protected void
execute(Terminal terminal, joptsimple.OptionSet options, Environment env)
Execute the command with the initializedEnvironment
.-
Methods inherited from class org.elasticsearch.cli.EnvironmentAwareCommand
createEnv, execute
-
Methods inherited from class org.elasticsearch.cli.Command
addShutdownHook, close, exit, main, printAdditionalHelp
-
-
-
-
Method Detail
-
execute
protected void execute(Terminal terminal, joptsimple.OptionSet options, Environment env) throws java.lang.Exception
Description copied from class:EnvironmentAwareCommand
Execute the command with the initializedEnvironment
.- Specified by:
execute
in classEnvironmentAwareCommand
- Throws:
java.lang.Exception
-
-