com.groupbyinc.flux.Version.class Maven / Gradle / Ivy
???? 4` com/groupbyinc/flux/Version Ljava/lang/Object;Ljava/lang/Comparable;Lcom/groupbyinc/flux/common/xcontent/ToXContentFragment; java/lang/Object java/lang/Comparable 6com/groupbyinc/flux/common/xcontent/ToXContentFragment Version.java 2com/groupbyinc/flux/Version$DeclaredVersionsHolder DeclaredVersionsHolder 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params com/groupbyinc/flux/Build$Flavor com/groupbyinc/flux/Build Flavor com/groupbyinc/flux/Build$Type Type V_5_0_0_alpha1_ID I LKA V_5_0_0_alpha1 Lcom/groupbyinc/flux/Version; V_5_0_0_alpha2_ID LKB V_5_0_0_alpha2 V_5_0_0_alpha3_ID LKC V_5_0_0_alpha3 V_5_0_0_alpha4_ID LKD V_5_0_0_alpha4 V_5_0_0_alpha5_ID LKE V_5_0_0_alpha5 V_5_0_0_beta1_ID LKZ
V_5_0_0_beta1 V_5_0_0_rc1_ID LKs V_5_0_0_rc1
V_5_0_0_ID LK? V_5_0_0
V_5_0_1_ID LL V_5_0_1
V_5_0_2_ID LLk V_5_0_2
V_5_1_1_ID Ls V_5_1_1
V_5_1_2_ID Ls{ V_5_1_2
V_5_2_0_ID L?? V_5_2_0
V_5_2_1_ID L?' V_5_2_1
V_5_2_2_ID L?? V_5_2_2
V_5_3_0_ID L?? V_5_3_0
V_5_3_1_ID L?7 V_5_3_1
V_5_3_2_ID L?? V_5_3_2
V_5_3_3_ID L?? V_5_3_3
V_5_4_0_ID L?? V_5_4_0
V_5_4_1_ID L?G V_5_4_1
V_5_4_2_ID L? V_5_4_2
V_5_4_3_ID L? V_5_4_3
V_5_5_0_ID M? V_5_5_0
V_5_5_1_ID MW V_5_5_1
V_5_5_2_ID M? V_5_5_2
V_5_5_3_ID M V_5_5_3
V_5_6_0_ID M6 V_5_6_0
V_5_6_1_ID M6g V_5_6_1
V_5_6_2_ID M6? V_5_6_2
V_5_6_3_ID M7/ V_5_6_3
V_5_6_4_ID M7? V_5_6_4
V_5_6_5_ID M7? V_5_6_5
V_5_6_6_ID M8[ V_5_6_6
V_5_6_7_ID M8? V_5_6_7
V_5_6_8_ID M9# V_5_6_8
V_5_6_9_ID M9? V_5_6_9 V_5_6_10_ID M9? V_5_6_10 V_5_6_11_ID M:O V_5_6_11 V_6_0_0_alpha1_ID [?? V_6_0_0_alpha1 V_6_0_0_alpha2_ID [?? V_6_0_0_alpha2 V_6_0_0_beta1_ID [??
V_6_0_0_beta1 V_6_0_0_beta2_ID [??
V_6_0_0_beta2 V_6_0_0_rc1_ID [?? V_6_0_0_rc1 V_6_0_0_rc2_ID [?? V_6_0_0_rc2
V_6_0_0_ID [?? V_6_0_0
V_6_0_1_ID [?G V_6_0_1
V_6_1_0_ID [?? V_6_1_0
V_6_1_1_ID [?W V_6_1_1
V_6_1_2_ID [?? V_6_1_2
V_6_1_3_ID [? V_6_1_3
V_6_1_4_ID [?? V_6_1_4 LUCENE_7_2_1 7Lcom/groupbyinc/flux/common/apache/lucene/util/Version;
V_6_2_0_ID [? V_6_2_0
V_6_2_1_ID [?g V_6_2_1
V_6_2_2_ID [?? V_6_2_2
V_6_2_3_ID [?/ V_6_2_3
V_6_2_4_ID [ݓ V_6_2_4
V_6_3_0_ID \ V_6_3_0
V_6_3_1_ID \w V_6_3_1
V_6_3_2_ID \? V_6_3_2
V_6_3_3_ID \? V_6_3_3
V_6_4_0_ID \*# V_6_4_0 CURRENT id major B minor revision build
luceneVersion $assertionsDisabled Z readVersion Q(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/Version; java/io/IOException ? 0com/groupbyinc/flux/common/io/stream/StreamInput ? readVInt ()I ? ?
? ? fromId (I)Lcom/groupbyinc/flux/Version; ? ?
? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ! ? # ? % ? ' ? ) ? + - | / y 1 v 3 s 5 p 7 m 9 j ; g = d ? a A ^ C [ E X G U I R K O M L O I Q F S C U @ W = Y : [ 7 ] 4 _ 1 a . c + e ( g % i " k m 5com/groupbyinc/flux/common/apache/lucene/util/Versiono LATESTq ? pr ;(ILcom/groupbyinc/flux/common/apache/lucene/util/Version;)Vtu
v indexCreated M(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/Version; index.version.createdz ,com/groupbyinc/flux/common/settings/Settings| getAsVersion N(Ljava/lang/String;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/Version;~
}? java/lang/IllegalStateException? java/lang/StringBuilder? ()Vt?
?? S[index.version.created] is not present in the index settings for index with uuid: [? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??
index.uuid? get &(Ljava/lang/String;)Ljava/lang/String;??
}? ]? toString ()Ljava/lang/String;??
?? (Ljava/lang/String;)Vt?
??
indexSettings .Lcom/groupbyinc/flux/common/settings/Settings; indexVersion writeVersion S(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ? 1com/groupbyinc/flux/common/io/stream/StreamOutput? writeVInt (I)V??
?? version out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; min Y(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/Version;)Lcom/groupbyinc/flux/Version; version1 version2 max
fromString 1(Ljava/lang/String;)Lcom/groupbyinc/flux/Version; java/lang/NumberFormatException? "com/groupbyinc/flux/common/Strings? hasLength (Ljava/lang/String;)Z??
?? ? ? -SNAPSHOT? java/lang/String? endsWith??
?? length? ?
?? substring (II)Ljava/lang/String;??
?? [.-]? split '(Ljava/lang/String;)[Ljava/lang/String;??
?? [Ljava/lang/String;? "java/lang/IllegalArgumentException? Sthe version needs to contain major, minor, and revision, and optionally the build: ?
?? java/lang/Integer? parseInt (Ljava/lang/String;)I??
?? Gillegal version format - snapshots are only supported until version 2.x? B@ alpha?
startsWith??
?? ? ? ? java/lang/AssertionError? major must be >= 5 but was ? (I)Ljava/lang/StringBuilder;??
?? (Ljava/lang/Object;)Vt?
?? (I)Ljava/lang/String;??
?? expected a beta build but ? >= 25? Beta? beta? >= 50? RC rc unable to parse version *(Ljava/lang/String;Ljava/lang/Throwable;)Vt
? buildStr Ljava/lang/String; rawMajor
betaOffset e !Ljava/lang/NumberFormatException; snapshot parts
? ? ? ? ? ? ? ? ? ? ? this after (Lcom/groupbyinc/flux/Version;)Z onOrAfter before
onOrBefore compareTo (Lcom/groupbyinc/flux/Version;)I compare (II)I%&
?' other
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- value I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;/0
.1 builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; minimumCompatibilityVersion ()Lcom/groupbyinc/flux/Version; DECLARED_VERSIONS Ljava/util/List;9: ; java/util/List= size? ?>@ (I)Ljava/lang/Object;?B>C isRelease ()ZEF
G
I??
K candidateVersion i
bwcVersion minimumIndexCompatibilityVersion bwcMajor bwcMinor isCompatible78
T
V java/lang/MathX?&
YZ?&
Y\
??
compatible main ([Ljava/lang/String;)V .Lcom/groupbyinc/flux/common/SuppressForbidden; reason System.out.* java/util/Localee ROOT Ljava/util/Locale;gh fi (Version: %s, Build: %s/%s/%s/%s, JVM: %sk Lcom/groupbyinc/flux/Build; ?m n
isSnapshotpF
q displayVersion 2(Lcom/groupbyinc/flux/Version;Z)Ljava/lang/String;st
u flavor $()Lcom/groupbyinc/flux/Build$Flavor;wx
y displayName{?
| type "()Lcom/groupbyinc/flux/Build$Type;~
?
| shortHash??
? date??
? 'com/groupbyinc/flux/monitor/jvm/JvmInfo? jvmInfo +()Lcom/groupbyinc/flux/monitor/jvm/JvmInfo;??
????
?? format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
?? java/lang/System? Ljava/io/PrintStream;?? ?? java/io/PrintStream? println??
?? args
versionOutput (C)Ljava/lang/StringBuilder;??
?? isAlpha?F
? -alpha? isBeta?F
? -beta? .Beta? -rc? .RC? sb Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
?? ? equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class;??
? o Ljava/lang/Object; hashCode isRC getDeclaredVersions #(Ljava/lang/Class;)Ljava/util/List; java/lang/IllegalAccessException? java/lang/Class? getFields ()[Ljava/lang/reflect/Field;??
?? java/util/ArrayList?t?
?? [Ljava/lang/reflect/Field;? java/lang/reflect/Field? getModifiers? ?
?? java/lang/reflect/Modifier? isStatic (I)Z??
?? isFinal??
?? isPublic??
?? getType??
?? ? getName??
????
?? V(_\d+)+(_(alpha|beta|rc)\d+)?? matches??
?? &(Ljava/lang/Object;)Ljava/lang/Object;??
?? add??>? java/lang/RuntimeException? (Ljava/lang/Throwable;)Vt?
?? java/util/Collections? sort (Ljava/util/List;)V
"Ljava/lang/IllegalAccessException; mod field Ljava/lang/reflect/Field; versionClass Ljava/lang/Class<*>; Ljava/lang/Class; fields versions /Ljava/util/List; (Ljava/lang/Object;)I#$
desiredAssertionStatusF
? LUCENE_6_0_0 ? p LUCENE_6_1_0 ? p LUCENE_6_2_0 ? p LUCENE_6_2_1 ? p LUCENE_6_3_0" ? p# LUCENE_6_4_0% ? p& LUCENE_6_4_1( ? p) LUCENE_6_4_2+ ? p, LUCENE_6_5_0. ? p/ LUCENE_6_5_11 ? p2 LUCENE_6_6_04 ? p5 LUCENE_6_6_17 ? p8 LUCENE_7_0_0: ? p; LUCENE_7_0_1= ? p> LUCENE_7_1_0@ ? pA fromBits <(III)Lcom/groupbyinc/flux/common/apache/lucene/util/Version;CD
pE ? ? G LUCENE_7_3_1I ? pJ LUCENE_7_4_0L ? pM
p? Version must be upgraded to [P ] is still set to [R
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable RuntimeInvisibleAnnotations LocalVariableTypeTable Signature E(Ljava/lang/Class<*>;)Ljava/util/List;
SourceFile InnerClasses ! ? T T ! " # T $ % &