public class Build
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Build.Flavor |
|
static class |
Build.Type |
Modifier and Type | Field | Description |
---|---|---|
static Build |
CURRENT |
The current build of Elasticsearch.
|
Constructor | Description |
---|---|
Build(Build.Flavor flavor,
Build.Type type,
java.lang.String shortHash,
java.lang.String date,
boolean isSnapshot) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
date() |
|
boolean |
equals(java.lang.Object o) |
|
Build.Flavor |
flavor() |
|
int |
hashCode() |
|
boolean |
isSnapshot() |
|
static Build |
readBuild(StreamInput in) |
|
java.lang.String |
shortHash() |
|
java.lang.String |
toString() |
|
Build.Type |
type() |
|
static void |
writeBuild(Build build,
StreamOutput out) |
public static final Build CURRENT
public Build(Build.Flavor flavor, Build.Type type, 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 Build.Flavor flavor()
public Build.Type type()
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