public class Build
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Build |
CURRENT
The current build of Elasticsearch.
|
Constructor and Description |
---|
Build(java.lang.String shortHash,
java.lang.String date,
boolean isSnapshot) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
date() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isSnapshot() |
static Build |
readBuild(StreamInput in) |
java.lang.String |
shortHash() |
java.lang.String |
toString() |
static void |
writeBuild(Build build,
StreamOutput out) |
public static final Build CURRENT
public Build(java.lang.String shortHash, java.lang.String date, boolean isSnapshot)
public java.lang.String shortHash()
public java.lang.String date()
public static Build readBuild(StreamInput in) throws java.io.IOException
java.io.IOException
public static void writeBuild(Build build, StreamOutput out) throws java.io.IOException
java.io.IOException
public boolean isSnapshot()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object