Package zipkin2.elasticsearch
Class ElasticsearchVersion
- java.lang.Object
-
- zipkin2.elasticsearch.ElasticsearchVersion
-
- All Implemented Interfaces:
Comparable<ElasticsearchVersion>
public final class ElasticsearchVersion extends Object implements Comparable<ElasticsearchVersion>
Helps avoid problems comparing versions by number. Ex 7.10 should be > 7.9
-
-
Field Summary
Fields Modifier and Type Field Description static ElasticsearchVersion
V5_0
static ElasticsearchVersion
V6_0
static ElasticsearchVersion
V6_7
static ElasticsearchVersion
V7_0
static ElasticsearchVersion
V7_8
static ElasticsearchVersion
V8_0
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ElasticsearchVersion other)
boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Field Detail
-
V5_0
public static final ElasticsearchVersion V5_0
-
V6_0
public static final ElasticsearchVersion V6_0
-
V6_7
public static final ElasticsearchVersion V6_7
-
V7_0
public static final ElasticsearchVersion V7_0
-
V7_8
public static final ElasticsearchVersion V7_8
-
V8_0
public static final ElasticsearchVersion V8_0
-
-
Method Detail
-
compareTo
public int compareTo(ElasticsearchVersion other)
- Specified by:
compareTo
in interfaceComparable<ElasticsearchVersion>
-
-