com.groupbyinc.flux.plugins.PluginInfo.class Maven / Gradle / Ivy
???? 4A &com/groupbyinc/flux/plugins/PluginInfo java/lang/Object .com/groupbyinc/flux/common/io/stream/Writeable 4com/groupbyinc/flux/common/xcontent/ToXContentObject PluginInfo.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContent Params ES_PLUGIN_PROPERTIES Ljava/lang/String; plugin-descriptor.properties ES_PLUGIN_POLICY plugin-security.policy name description version classname hasNativeController Z requiresKeystore M(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)V ()V
" $ & ( * , this (Lcom/groupbyinc/flux/plugins/PluginInfo; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException 1 0com/groupbyinc/flux/common/io/stream/StreamInput 3
readString ()Ljava/lang/String; 5 6
4 7
getVersion ()Lcom/groupbyinc/flux/Version; 9 :
4 ; com/groupbyinc/flux/Version = V_5_4_0 Lcom/groupbyinc/flux/Version; ? @ > A onOrAfter (Lcom/groupbyinc/flux/Version;)Z C D
> E readBoolean ()Z G H
4 I
V_6_0_0_beta2 K @ > L in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput R writeString (Ljava/lang/String;)V T U
S V
S ; writeBoolean (Z)V Y Z
S [ out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; readFromProperties >(Ljava/nio/file/Path;)Lcom/groupbyinc/flux/plugins/PluginInfo; java/lang/Throwable a "java/lang/IllegalArgumentException c java/nio/file/Path e resolve ((Ljava/lang/String;)Ljava/nio/file/Path; g h f i java/util/Properties k
l java/nio/file/OpenOption n java/nio/file/Files p newInputStream F(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream; r s
q t load (Ljava/io/InputStream;)V v w
l x java/io/InputStream z close |
{ }
addSuppressed (Ljava/lang/Throwable;)V ?
b ? getProperty &(Ljava/lang/String;)Ljava/lang/String; ? ?
l ? java/lang/String ? isEmpty ? H
? ? java/lang/StringBuilder ?
? property [name] is missing in [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? 6
? ? U
d ? .property [description] is missing for plugin [ ? *property [version] is missing for plugin [ ? elasticsearch.version ? 8property [elasticsearch.version] is missing for plugin [ ?
fromString 1(Ljava/lang/String;)Lcom/groupbyinc/flux/Version; ? ?
> ? CURRENT ? @ > ? equals (Ljava/lang/Object;)Z ? ?
> ? java/util/Locale ? ROOT Ljava/util/Locale; ? ? ? ? Lplugin [%s] is incompatible with version [%s]; was designed for version [%s] ?
> ? format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
? ? java.version ? /property [java.version] is missing for plugin [ ? %com/groupbyinc/flux/bootstrap/JarHell ? checkVersionFormat ? U
? ? checkJavaVersion '(Ljava/lang/String;Ljava/lang/String;)V ? ?
? ? ,property [classname] is missing for plugin [ ? has.native.controller ? hashCode ()I ? ?
? ? true ?
? ? false ? =property [%s] must be [%s], [%s], or unspecified but was [%s] ? has_native_controller ? requires.keystore ? 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? ?
l ? #com/groupbyinc/flux/common/Booleans ? parseBoolean (Ljava/lang/String;)Z ? ?
? ? Aproperty [requires.keystore] must be [true] or [false], but was [ ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ?
d ?
? stream Ljava/io/InputStream; message e $Ljava/lang/IllegalArgumentException; path Ljava/nio/file/Path;
descriptor props Ljava/util/Properties; esVersionString esVersion javaVersionString hasNativeControllerValue requiresKeystoreValue getName getDescription getClassname
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
requires_keystore endObject
builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; getClass ()Ljava/lang/Class;
o Ljava/lang/Object; that - Plugin information:
$ Name: &
(
Description: * Version: , Native Controller: . (Z)Ljava/lang/StringBuilder; ?0
?1 Requires Keystore: 3 * Classname: 5 information Ljava/lang/StringBuilder;
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! 9 9 : ? &*? !*+? #*,? %*-? '*? )*? +*? -? ; H &