
com.groupbyinc.flux.action.admin.cluster.node.info.PluginsAndModules.class Maven / Gradle / Ivy
???? 3 ? Dcom/groupbyinc/flux/action/admin/cluster/node/info/PluginsAndModules java/lang/Object /com/groupbyinc/flux/common/io/stream/Streamable .com/groupbyinc/flux/common/xcontent/ToXContent PluginsAndModules.java Fcom/groupbyinc/flux/action/admin/cluster/node/info/PluginsAndModules$2
Fcom/groupbyinc/flux/action/admin/cluster/node/info/PluginsAndModules$1 5com/groupbyinc/flux/common/xcontent/ToXContent$Params Params plugins Ljava/util/List; :Ljava/util/List; modules ()V
java/util/ArrayList
this FLcom/groupbyinc/flux/action/admin/cluster/node/info/PluginsAndModules; getPluginInfos ()Ljava/util/List; (Ljava/util/Collection;)V $
% I(Lcom/groupbyinc/flux/action/admin/cluster/node/info/PluginsAndModules;)V '
( java/util/Collections * sort )(Ljava/util/List;Ljava/util/Comparator;)V , -
+ . getModuleInfos
( addPlugin +(Lcom/groupbyinc/flux/plugins/PluginInfo;)V java/util/List 4 add (Ljava/lang/Object;)Z 6 7 5 8 info (Lcom/groupbyinc/flux/plugins/PluginInfo; addModule readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? isEmpty ()Z A B 5 C java/lang/IllegalStateException E instance is already populated G (Ljava/lang/String;)V I
F J 0com/groupbyinc/flux/common/io/stream/StreamInput L readInt ()I N O
M P &com/groupbyinc/flux/plugins/PluginInfo R readFromStream \(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/plugins/PluginInfo; T U
S V
getVersion ()Lcom/groupbyinc/flux/Version; X Y
M Z com/groupbyinc/flux/Version \ V_2_2_0 Lcom/groupbyinc/flux/Version; ^ _ ] ` onOrAfter (Lcom/groupbyinc/flux/Version;)Z b c
] d i I modules_size in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; plugins_size writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput n
o Z before q c
] r size t O 5 u writeInt (I)V w x
o y " #
{ iterator ()Ljava/util/Iterator; } ~ 5 java/util/Iterator ? hasNext ? B ? ? next ()Ljava/lang/Object; ? ? ? ? l m
S ? 0 #
? plugin module out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
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 ?
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? ? ?
S ? endArray 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ?
pluginInfo
moduleInfo builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable <()Ljava/util/List;
StackMapTable
Exceptions
SourceFile InnerClasses ! ? ? ? Q *? *? Y? ? *? Y? ? ? ? ! ? + , - . " # ? h ? Y*? ? &L+?
Y*? )? /+? ? ! ? ? 4 5 ; ? ? 0 # ? h ? Y*? ? &L+? Y*? 1? /+? ? ! ? ? B C I ? ? 2 3 ? D *? +? 9 W? ? ! : ; ?
M N <