com.groupbyinc.flux.cluster.metadata.RepositoriesMetaData.class Maven / Gradle / Ivy
???? 4 9com/groupbyinc/flux/cluster/metadata/RepositoriesMetaData ?Lcom/groupbyinc/flux/cluster/AbstractNamedDiffable;Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom; 1com/groupbyinc/flux/cluster/AbstractNamedDiffable 4com/groupbyinc/flux/cluster/metadata/MetaData$Custom RepositoriesMetaData.java -com/groupbyinc/flux/cluster/metadata/MetaData Custom 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params =com/groupbyinc/flux/cluster/metadata/MetaData$XContentContext XContentContext 4com/groupbyinc/flux/common/settings/Settings$Builder ,com/groupbyinc/flux/common/settings/Settings Builder @com/groupbyinc/flux/common/settings/loader/SettingsLoader$Helper 9com/groupbyinc/flux/common/settings/loader/SettingsLoader Helper TYPE Ljava/lang/String; repositories % Ljava/util/List; KLjava/util/List; =([Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)V ()V ) +
, java/util/Arrays . asList %([Ljava/lang/Object;)Ljava/util/List; 0 1
/ 2 % ' 4 this ;Lcom/groupbyinc/flux/cluster/metadata/RepositoriesMetaData; :[Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData; ()Ljava/util/List;
repository M(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData; java/util/List < iterator ()Ljava/util/Iterator; > ? = @ java/util/Iterator B hasNext ()Z D E C F next ()Ljava/lang/Object; H I C J 7com/groupbyinc/flux/cluster/metadata/RepositoryMetaData L name ()Ljava/lang/String; N O
M P java/lang/String R equals (Ljava/lang/Object;)Z T U
S V 9Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData; java/lang/Object Y getClass ()Ljava/lang/Class; [ \
Z ] = V o Ljava/lang/Object; that hashCode ()I c d = e getWriteableName 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException i 0com/groupbyinc/flux/common/io/stream/StreamInput k readVInt m d
l n 8 ) h
M q i I in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; readDiffFrom [(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/NamedDiff; ~(Ljava/lang/Class;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/NamedDiff; w y
z writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V size ~ d = 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeVInt (I)V ? ?
? ? | }
M ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; fromXContent q(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/metadata/RepositoriesMetaData; java/util/ArrayList ?
? , nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ?
?
FIELD_NAME ? ?
? currentName ? O ? START_OBJECT ? ?
? /com/groupbyinc/flux/ElasticsearchParseException ? 0failed to parse repository [{}], expected object ? ((Ljava/lang/String;[Ljava/lang/Object;)V ) ?
? ? EMPTY .Lcom/groupbyinc/flux/common/settings/Settings; ? ? ? type ? VALUE_STRING ? ?
? -failed to parse repository [{}], unknown type ? text ? O ? settings ? 4failed to parse repository [{}], incompatible params ? builder 8()Lcom/groupbyinc/flux/common/settings/Settings$Builder; ? ?
?
mapOrdered ()Ljava/util/Map; ? ? ? loadNestedFromMap (Ljava/util/Map;)Ljava/util/Map; ? ?
? put G(Ljava/util/Map;)Lcom/groupbyinc/flux/common/settings/Settings$Builder; ? ?
? build 0()Lcom/groupbyinc/flux/common/settings/Settings; ? ?
? 3failed to parse repository [{}], unknown field [{}] ? failed to parse repository [{}] ? 8failed to parse repository [{}], missing repository type ? U(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;)V ) ?
M ? add ? U = ? failed to parse repositories ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ? = ? ) *
? currentFieldName parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V ? ?
? 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; context ()Ljava/util/EnumSet; API_AND_GATEWAY Ljava/util/EnumSet; ? ?
? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? ? O
M ? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? ? ?
M ? ?
endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
?
ConstantValue Signature Code LocalVariableTable LineNumberTable M()Ljava/util/List;
StackMapTable
Exceptions ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/NamedDiff; LocalVariableTypeTable V()Ljava/util/EnumSet;
SourceFile InnerClasses ! # $ &