All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.settings.RemoveSettingKeyStoreCommand.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?@com/groupbyinc/flux/common/settings/RemoveSettingKeyStoreCommand/com/groupbyinc/flux/cli/EnvironmentAwareCommand!RemoveSettingKeyStoreCommand.java	argumentsLjoptsimple/OptionSpec;+Ljoptsimple/OptionSpec;()V"Remove a setting from the keystore(Ljava/lang/String;)V	
parserLjoptsimple/OptionParser;	
setting namesjoptsimple/OptionParser
nonOptions6(Ljava/lang/String;)Ljoptsimple/NonOptionArgumentSpec;
	thisBLcom/groupbyinc/flux/common/settings/RemoveSettingKeyStoreCommand;execute`(Lcom/groupbyinc/flux/cli/Terminal;Ljoptsimple/OptionSet;Lcom/groupbyinc/flux/env/Environment;)Vjava/lang/Exception"joptsimple/OptionSpec$values((Ljoptsimple/OptionSet;)Ljava/util/List;&'%(java/util/List*isEmpty()Z,-+.%com/groupbyinc/flux/cli/UserException0*Must supply at least one setting to remove2(ILjava/lang/String;)V	4
15#com/groupbyinc/flux/env/Environment7
configFile()Ljava/nio/file/Path;9:
8;3com/groupbyinc/flux/common/settings/KeyStoreWrapper=loadK(Ljava/nio/file/Path;)Lcom/groupbyinc/flux/common/settings/KeyStoreWrapper;?@
>AEElasticsearch keystore not found. Use 'create' command to create one.Cdecrypt([C)VEF
>Giterator()Ljava/util/Iterator;IJ+Kjava/util/IteratorMhasNextO-NPnext()Ljava/lang/Object;RSNTjava/lang/StringVgetSettingNames()Ljava/util/Set;XY
>Z
java/util/Set\contains(Ljava/lang/Object;)Z^_]`java/lang/StringBuilderb	

cd	Setting [fappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;hi
cj!] does not exist in the keystore.ltoString()Ljava/lang/String;no
cpremover
>ssave(Ljava/nio/file/Path;[C)Vuv
>wsettingLjava/lang/String;terminal"Lcom/groupbyinc/flux/cli/Terminal;optionsLjoptsimple/OptionSet;env%Lcom/groupbyinc/flux/env/Environment;settings$Ljava/util/List;Ljava/util/List;keystore5Lcom/groupbyinc/flux/common/settings/KeyStoreWrapper;	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions
SourceFile ?	
?F*?**??????()* !???*?,?):?/??1Y@3?6?-????@?A??"+?>?N?GW?	?#?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy