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:
java.io.Closeable,java.lang.AutoCloseable
public class HasPasswordKeyStoreCommand extends KeyStoreAwareCommand
-
Field Summary
-
Method Summary
Modifier and Type Method Description protected voidexecute(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, readPasswordMethods inherited from class org.elasticsearch.cli.EnvironmentAwareCommand
createEnv, createEnv, execute
-
Method Details
-
execute
protected void execute(org.elasticsearch.cli.Terminal terminal, joptsimple.OptionSet options, Environment env) throws java.lang.ExceptionDescription copied from class:EnvironmentAwareCommandExecute the command with the initializedEnvironment.- Specified by:
executein classKeyStoreAwareCommand- Throws:
java.lang.Exception
-