Class HasPasswordKeyStoreCommand
java.lang.Object
org.elasticsearch.cli.Command
org.elasticsearch.cli.EnvironmentAwareCommand
org.elasticsearch.cli.KeyStoreAwareCommand
org.elasticsearch.common.settings.HasPasswordKeyStoreCommand
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class org.elasticsearch.cli.KeyStoreAwareCommand
MAX_PASSPHRASE_LENGTH
Fields inherited from class org.elasticsearch.cli.Command
description, parser
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute(org.elasticsearch.cli.Terminal terminal, joptsimple.OptionSet options, Environment env)
Execute the command with the initializedEnvironment
.Methods inherited from class org.elasticsearch.cli.KeyStoreAwareCommand
decryptKeyStore, readPassword
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(org.elasticsearch.cli.Terminal terminal, joptsimple.OptionSet options, Environment env) throws ExceptionDescription copied from class:EnvironmentAwareCommand
Execute the command with the initializedEnvironment
.- Specified by:
execute
in classKeyStoreAwareCommand
- Throws:
Exception
-