Package org.elasticsearch.client.xpack
Class XPackInfoResponse.BuildInfo
- java.lang.Object
-
- org.elasticsearch.client.xpack.XPackInfoResponse.BuildInfo
-
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
- Enclosing class:
- XPackInfoResponse
public static class XPackInfoResponse.BuildInfo extends java.lang.Object implements ToXContentObject, Writeable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description BuildInfo(java.lang.String hash, java.lang.String timestamp)BuildInfo(StreamInput input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetHash()java.lang.StringgetTimestamp()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)voidwriteTo(StreamOutput output)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Constructor Detail
-
BuildInfo
public BuildInfo(java.lang.String hash, java.lang.String timestamp)
-
BuildInfo
public BuildInfo(StreamInput input) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput output) throws java.io.IOException
-
getHash
public java.lang.String getHash()
-
getTimestamp
public java.lang.String getTimestamp()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
-