Class XPackInfoResponse

java.lang.Object
org.elasticsearch.client.xpack.XPackInfoResponse

public class XPackInfoResponse
extends java.lang.Object
  • Field Details

    • BASIC_SELF_GENERATED_LICENSE_EXPIRATION_MILLIS

      public static final long BASIC_SELF_GENERATED_LICENSE_EXPIRATION_MILLIS
      Value of the license's expiration time if it should never expire.
  • Constructor Details

  • Method Details

    • getBuildInfo

      public XPackInfoResponse.BuildInfo getBuildInfo()
      Returns:
      The build info (incl. build hash and timestamp)
    • getLicenseInfo

      public XPackInfoResponse.LicenseInfo getLicenseInfo()
      Returns:
      The current license info (incl. UID, type/mode. status and expiry date). May return null when no license is currently installed.
    • getFeatureSetsInfo

      public XPackInfoResponse.FeatureSetsInfo getFeatureSetsInfo()
      Returns:
      The current status of the feature sets in X-Pack. Feature sets describe the features available/enabled in X-Pack.
    • equals

      public boolean equals​(java.lang.Object other)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • fromXContent

      public static XPackInfoResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException