Edit C:\dspace\webapps\sword\WEB-INF\lib\org\elasticsearch\plugins\PluginManager.class
???? 3+ 'org/elasticsearch/plugins/PluginManager java/lang/Object PluginManager.java 4org/elasticsearch/plugins/PluginManager$PluginHandle PluginHandle 2org/elasticsearch/plugins/PluginManager$OutputMode OutputMode .org/elasticsearch/plugins/PluginManager$ACTION ACTION )org/elasticsearch/plugins/PluginManager$2 )org/elasticsearch/plugins/PluginManager$1 Horg/elasticsearch/common/http/client/HttpDownloadHelper$DownloadProgress 7org/elasticsearch/common/http/client/HttpDownloadHelper DownloadProgress Dorg/elasticsearch/common/http/client/HttpDownloadHelper$NullProgress NullProgress Gorg/elasticsearch/common/http/client/HttpDownloadHelper$VerboseProgress VerboseProgress ;org/elasticsearch/common/settings/ImmutableSettings$Builder 3org/elasticsearch/common/settings/ImmutableSettings Builder 5org/elasticsearch/common/collect/ImmutableSet$Builder # -org/elasticsearch/common/collect/ImmutableSet % DEFAULT_TIMEOUT )Lorg/elasticsearch/common/unit/TimeValue; BLACKLIST /Lorg/elasticsearch/common/collect/ImmutableSet; CLorg/elasticsearch/common/collect/ImmutableSet<Ljava/lang/Object;>; VALID_TOP_LEVEL_PLUGIN_DIRS environment #Lorg/elasticsearch/env/Environment; url Ljava/lang/String; outputMode 4Lorg/elasticsearch/plugins/PluginManager$OutputMode; timeout EXIT_CODE_OK I EXIT_CODE_CMD_USAGE @ EXIT_CODE_IO_ERROR J EXIT_CODE_ERROR F <init> ?(Lorg/elasticsearch/env/Environment;Ljava/lang/String;Lorg/elasticsearch/plugins/PluginManager$OutputMode;Lorg/elasticsearch/common/unit/TimeValue;)V java/lang/Exception ? ()V = A B - . D / 0 F 1 2 H 3 ( J javax/net/ssl/TrustManager L ,(Lorg/elasticsearch/plugins/PluginManager;)V = N O SSL Q javax/net/ssl/SSLContext S getInstance .(Ljava/lang/String;)Ljavax/net/ssl/SSLContext; U V T W java/security/SecureRandom Y Z B init W([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V \ ] T ^ getSocketFactory "()Ljavax/net/ssl/SSLSocketFactory; ` a T b javax/net/ssl/HttpsURLConnection d setDefaultSSLSocketFactory #(Ljavax/net/ssl/SSLSocketFactory;)V f g e h !org/elasticsearch/env/Environment j java/lang/String l 'org/elasticsearch/common/unit/TimeValue n [Ljavax/net/ssl/TrustManager; p printStackTrace r A @ s sc Ljavax/net/ssl/SSLContext; e Ljava/lang/Exception; this )Lorg/elasticsearch/plugins/PluginManager; trustAllCerts downloadAndExtract (Ljava/lang/String;)V java/io/IOException ~ /org/elasticsearch/ElasticsearchTimeoutException ? 7org/elasticsearch/ElasticsearchIllegalArgumentException ? 3plugin name must be supplied with --install [name]. ? = } ? ? B SILENT ? 2 ? B java/lang/System ? out Ljava/io/PrintStream; ? ? ? ? (Ljava/io/PrintStream;)V = ? ? pluginsFile ()Ljava/io/File; ? ? k ? java/io/File ? canWrite ()Z ? ? ? ? err ? ? ? ? java/io/PrintStream ? println ? A ? ? java/lang/StringBuilder ? ? B plugin directory ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ? ? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ? ? ? is read only ? toString ()Ljava/lang/String; ? ? ? ? ? parse J(Ljava/lang/String;)Lorg/elasticsearch/plugins/PluginManager$PluginHandle; ? ? ? name ? 0 ? checkForForbiddenName ? } ? distroFile 3(Lorg/elasticsearch/env/Environment;)Ljava/io/File; ? ? ? extractedDir ? ? ? exists ? ? ? ? getAbsolutePath ? ? ? ? I already exists. To update the plugin, uninstall it first using --remove ? command ? java/net/URL ? ? ? Trying ? toExternalForm ? ? ? ? ... ? log ? } ? download ?(Ljava/net/URL;Ljava/io/File;Lorg/elasticsearch/common/http/client/HttpDownloadHelper$DownloadProgress;Lorg/elasticsearch/common/unit/TimeValue;)Z ? ? ? Failed: ? "org/elasticsearch/ExceptionsHelper ? detailedMessage )(Ljava/lang/Throwable;)Ljava/lang/String; ? ? ? ? urls ()Ljava/util/List; ? ? ? java/util/List ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? ? ? ? next ()Ljava/lang/Object; ? ? ? debug } ^failed to download out of all possible locations..., use --verbose to get detailed information java/util/zip/ZipFile (Ljava/io/File;)V = topLevelDirInExcess (Ljava/util/zip/ZipFile;)Z entries ()Ljava/util/Enumeration; java/util/Enumeration hasMoreElements ? nextElement ? java/util/zip/ZipEntry isDirectory ? getName! ? " replace (CC)Ljava/lang/String;$% m& indexOf (I)I() m* substring (I)Ljava/lang/String;,- m. #(Ljava/io/File;Ljava/lang/String;)V =0 ?1 getParentFile3 ? ?4 +org/elasticsearch/common/io/FileSystemUtils6 mkdirs (Ljava/io/File;)Z89 7: getInputStream /(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;<= > java/io/FileOutputStream@ A #org/elasticsearch/common/io/StreamsC copy .(Ljava/io/InputStream;Ljava/io/OutputStream;)JEF DG Installed I into K closeM A N deleteP ? ?Q failed to extract plugin [S ]: U java/lang/ThrowableW .javaY hasExtensions $(Ljava/io/File;[Ljava/lang/String;)Z[\ 7] aPlugin installation assumed to be site plugin, but contains source code, aborting installation..._ deleteRecursively ([Ljava/io/File;)Zab 7c "java/lang/IllegalArgumentExceptione _Plugin installation assumed to be site plugin, but contains source code, aborting installation.g f ? binj ? binDirm ? n Found bin, moving to p renameTor9 ?s Could not move [u ] to [w ]y toPath ()Ljava/nio/file/Path;{| ?} O java/nio/file/Files? walkFileTree E(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;?? ?? config? configDir? ? ? Found config, moving to ? .new? moveFilesWithoutOverwriting 1(Ljava/io/File;Ljava/io/File;Ljava/lang/String;)V?? 7? _site? .class? .jar? ;Identified as a _site plugin, moving to _site structure ...? ?" .tmp? 6failed to rename in order to copy to _site (rename to ? ? progress JLorg/elasticsearch/common/http/client/HttpDownloadHelper$DownloadProgress; 1Lorg/elasticsearch/ElasticsearchTimeoutException; pluginUrl Ljava/net/URL; i$ Ljava/util/Iterator; zipEntry Ljava/util/zip/ZipEntry; zipEntryName target Ljava/io/File; removeTopLevelDir Z zipEntries 2Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>; Ljava/util/Enumeration; Ljava/io/IOException; toLocation configDestLocation site tmpLocation downloadHelper 9Lorg/elasticsearch/common/http/client/HttpDownloadHelper; downloaded pluginHandle 6Lorg/elasticsearch/plugins/PluginManager$PluginHandle; pluginFile extractLocation zipFile Ljava/util/zip/ZipFile; potentialSitePlugin binFile configFile removePlugin 2plugin name must be supplied with --remove [name].? Removing: ? getPath? ? ?? (Ljava/io/File;Z)Za? 7? Unable to remove ? . Check file permissions on ? ? ? Removed ? Plugin ? ? not found. Run plugin --list to get list of installed plugins.? removed pluginToDelete binLocation org/elasticsearch/common/Strings? hasLength (Ljava/lang/String;)Z?? ?? ) * ? java/util/Locale? ROOT Ljava/util/Locale;?? ?? toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;?? m? contains (Ljava/lang/Object;)Z?? &? Illegal plugin name: ? getListInstalledPlugins ()[Ljava/io/File; listFiles?? ?? plugins [Ljava/io/File; listInstalledPlugins?? ? Installed plugins:?? - No plugin detected in - i java/util/HashSet B java/util/Set (II)Ljava/lang/String;, m add? size ()I , * ? slash topLevelDirNames #Ljava/util/Set<Ljava/lang/String;>; Ljava/util/Set; main ([Ljava/lang/String;)V EMPTY_SETTINGS ,Lorg/elasticsearch/common/settings/Settings; ! 8org/elasticsearch/node/internal/InternalSettingsPreparer# prepareSettings W(Lorg/elasticsearch/common/settings/Settings;Z)Lorg/elasticsearch/common/collect/Tuple;%& $' &org/elasticsearch/common/collect/Tuple) v2+ ? *, DEFAULT. 2 / ' ( 1 displayHelp3 } 4 [Ljava/lang/String;6 hashCode8 m9 -u; equals=? m> --url@ / -urlC -vE --verboseG verboseI -verboseK -sM --silentO silentQ -silentS -iU --installW installY -install[ -r] --remove_ removea -removec -te --timeoutg 3 -timeoutj -ll --listn -hp --helpr getCommandValue :([Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;tu v VERBOSEx 2 y parseTimeValue f(Ljava/lang/String;Lorg/elasticsearch/common/unit/TimeValue;)Lorg/elasticsearch/common/unit/TimeValue;{| o} Command [ ] unknown.? exit (I)V?? ?? Error while parsing options: ? getClass ()Ljava/lang/Class;?? ? java/lang/Class? getSimpleName? ? ?? : ? getMessage? ? X? = > ? -> Installing ? %org/elasticsearch/common/base/Strings? nullToEmpty &(Ljava/lang/String;)Ljava/lang/String;?? ?? | } ? Failed to install ? , reason: ? ? 'Error while installing plugin, reason: ? -> Removing ?? } ? Failed to remove ? ?? %Error while removing plugin, reason: ?? A ? %Error while listing plugins, reason: ? Unknown Action [? (I)Ljava/lang/StringBuilder; ?? ?? timeoutValue command c Ljava/lang/Throwable; 9Lorg/elasticsearch/ElasticsearchIllegalArgumentException; exitCode pluginManager args initialSettings yLorg/elasticsearch/common/collect/Tuple<Lorg/elasticsearch/common/settings/Settings;Lorg/elasticsearch/env/Environment;>; (Lorg/elasticsearch/common/collect/Tuple; pluginName action 4org/elasticsearch/ElasticsearchIllegalStateException? missing value for ? . Usage: ? [value]? ? ? trim? ? m? emptyToNull?? ?? value for ? ('? ') must be set. Usage: ? arg flag trimmedValue Usage:? ? } ?? Q -u, --url [plugin location] : Set exact URL to download the plugin from? Q -i, --install [plugin name] : Downloads and installs listed plugins [*]? ] -t, --timeout [duration] : Timeout setting: 30s, 1m, 1h... (infinite by default)? > -r, --remove [plugin name] : Removes listed plugins? > -l, --list : List installed plugins? ? -v, --verbose : Prints verbose messages? : -s, --silent : Run in silent mode? @ -h, --help : Prints this help message? [*] Plugin name could be:? o elasticsearch/plugin/version for official elasticsearch plugins (download from download.elasticsearch.org)? e groupId/artifactId/version for community plugins (download from maven central or oss sonatype)? P username/repository for site plugins (download from github master)? Message:? ? message line <clinit> timeValueMillis ,(J)Lorg/elasticsearch/common/unit/TimeValue; o builder 9()Lorg/elasticsearch/common/collect/ImmutableSet$Builder; & elasticsearch elasticsearch.bat elasticsearch.in.sh plugin plugin.bat service.bat L([Ljava/lang/Object;)Lorg/elasticsearch/common/collect/ImmutableSet$Builder; $ build 1()Lorg/elasticsearch/common/collect/ImmutableSet; $ _dict Signature ConstantValue Code LocalVariableTable LineNumberTable StackMapTable LocalVariableTypeTable Exceptions SourceFile InnerClasses ! ' ( ) * ! + , * ! + - . / 0 1 2 3 ( 4 5 "