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
-
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, createEnv, execute
Methods inherited from class org.elasticsearch.cli.Command
addShutdownHook, close, exit, main, printAdditionalHelp
-
Method Details
-
execute
protected void execute(Terminal terminal, joptsimple.OptionSet options, Environment env) throws java.lang.ExceptionDescription copied from class:EnvironmentAwareCommand
Execute the command with the initializedEnvironment
.- Specified by:
execute
in classEnvironmentAwareCommand
- Throws:
java.lang.Exception
-