Module org.elasticsearch.xcore
Package org.elasticsearch.protocol.xpack
Class XPackInfoResponse.LicenseInfo
java.lang.Object
org.elasticsearch.protocol.xpack.XPackInfoResponse.LicenseInfo
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
- Enclosing class:
XPackInfoResponse
public static class XPackInfoResponse.LicenseInfo
extends Object
implements ToXContentObject, Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionLicenseInfo(String uid, String type, String mode, LicenseStatus status, long expiryDate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetMode()getType()getUid()inthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
LicenseInfo
-
LicenseInfo
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getUid
-
getType
-
getMode
-
getExpiryDate
public long getExpiryDate() -
getStatus
-
equals
-
hashCode
public int hashCode() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-