com.groupbyinc.flux.action.admin.cluster.snapshots.create.CreateSnapshotRequest.class Maven / Gradle / Ivy
???? 4S Ocom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest ?Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/action/IndicesRequest$Replaceable; ;com/groupbyinc/flux/action/support/master/MasterNodeRequest 5com/groupbyinc/flux/action/IndicesRequest$Replaceable CreateSnapshotRequest.java 4com/groupbyinc/flux/common/settings/Settings$Builder ,com/groupbyinc/flux/common/settings/Settings Builder java/util/Map$Entry
java/util/Map Entry )com/groupbyinc/flux/action/IndicesRequest Replaceable snapshot Ljava/lang/String;
repository indices [Ljava/lang/String; indicesOptions 3Lcom/groupbyinc/flux/action/support/IndicesOptions; partial Z settings .Lcom/groupbyinc/flux/common/settings/Settings; includeGlobalState waitForCompletion ()V # $
% "com/groupbyinc/flux/common/Strings ' EMPTY_ARRAY ) ( * , 1com/groupbyinc/flux/action/support/IndicesOptions . strictExpandOpen 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; 0 1
/ 2 4 6 EMPTY_SETTINGS 8
9 ; ! = this QLcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; '(Ljava/lang/String;Ljava/lang/String;)V B D validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; snapshot is missing H *com/groupbyinc/flux/action/ValidateActions J addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionRequestValidationException;)Lcom/groupbyinc/flux/action/ActionRequestValidationException; L M
K N ;com/groupbyinc/flux/action/ActionRequestValidationException P repository is missing R indices is null T
index is null W indicesOptions is null Y settings is null [ index validationException =Lcom/groupbyinc/flux/action/ActionRequestValidationException; e(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ()Ljava/lang/String; f([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; c(Ljava/util/List;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; java/util/List d size ()I f g e h java/lang/String j toArray (([Ljava/lang/Object;)[Ljava/lang/Object; l m e n $Ljava/util/List; Ljava/util/List; ()[Ljava/lang/String; ?(Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ()Z T(Z)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; " v ?(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ?(Lcom/groupbyinc/flux/common/settings/Settings$Builder;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; build 0()Lcom/groupbyinc/flux/common/settings/Settings; z {
| 6Lcom/groupbyinc/flux/common/settings/Settings$Builder; ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; builder 8()Lcom/groupbyinc/flux/common/settings/Settings$Builder; ? ?
? loadFromSource |(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/settings/Settings$Builder; ? ?
? source xContentType 2Lcom/groupbyinc/flux/common/xcontent/XContentType; b(Ljava/util/Map;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; java/io/IOException ? 0com/groupbyinc/flux/common/xcontent/XContentType ? JSON ? ? ? ? 3com/groupbyinc/flux/common/xcontent/XContentFactory ? contentBuilder i(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? map F(Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? string ? a
? ? contentType 4()Lcom/groupbyinc/flux/common/xcontent/XContentType; ? ?
? ?
? 4com/groupbyinc/flux/ElasticsearchGenerationException ? java/lang/StringBuilder ?
? % Failed to generate [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? a
? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V # ?
? ? 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e Ljava/io/IOException; 5Ljava/util/Map; Ljava/util/Map; entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? t ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? equals (Ljava/lang/Object;)Z ? ?
k ? getValue ? ? ? splitStringByCommaToArray '(Ljava/lang/String;)[Ljava/lang/String; ? ?
( ? b
? java/util/ArrayList ? c
? "java/lang/IllegalArgumentException ? 8malformed indices section, should be an array of strings ? (Ljava/lang/String;)V # ?
? ? =com/groupbyinc/flux/common/xcontent/support/XContentMapValues ? nodeBooleanValue '(Ljava/lang/Object;Ljava/lang/String;)Z ? ?
? ? u
? :malformed settings section, should indices an inner object ? ?
? include_global_state lenientExpandOpen 1
/ fromMap w(Ljava/util/Map;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions;
/ s
name entry ;Ljava/util/Map$Entry; Ljava/util/Map$Entry; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V
0com/groupbyinc/flux/common/io/stream/StreamInput
readString a
readStringArray r
readIndicesOptions g(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/IndicesOptions;
/ readSettingsFromStream b(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/settings/Settings;
! readBoolean# t
$ 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, writeString. ?
-/ writeStringArray ([Ljava/lang/String;)V12
-3 writeIndicesOptions5)
/6 writeSettingsToStream d(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V89
: writeBoolean (Z)V<=
-> out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; getDescription
snapshot [C :E @([Ljava/lang/String;)Lcom/groupbyinc/flux/action/IndicesRequest; Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature w(Ljava/util/List;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ?(Ljava/util/Map;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest;
Exceptions
SourceFile InnerClasses ! ! " # $ H f $*? &*? +? -*? 3? 5*? 7*? :? <*? >? I $ ? @ J O C E G I K # P # A H ? .*? &*? +? -*? 3? 5*? 7*? :? <*? >*,? C*+? E? I . ? @ . . J &