Class XPackFeatureUsage

java.lang.Object
org.elasticsearch.xpack.core.XPackFeatureUsage
All Implemented Interfaces:
NamedWriteable, VersionedNamedWriteable, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
Direct Known Subclasses:
AggregateMetricFeatureSetUsage, AnalyticsFeatureSetUsage, ArchiveFeatureSetUsage, DataStreamFeatureSetUsage, DataStreamLifecycleFeatureSetUsage, DataTiersFeatureSetUsage, EnrichFeatureSetUsage, EnterpriseSearchFeatureSetUsage, EqlFeatureSetUsage, EsqlFeatureSetUsage, FrozenIndicesFeatureSetUsage, GraphFeatureSetUsage, HealthApiFeatureSetUsage, IndexLifecycleFeatureSetUsage, InferenceFeatureSetUsage, LogsDBFeatureSetUsage, LogstashFeatureSetUsage, MachineLearningFeatureSetUsage, MonitoringFeatureSetUsage, ProfilingUsage, RemoteClusterFeatureSetUsage, RollupFeatureSetUsage, SearchableSnapshotFeatureSetUsage, SecurityFeatureSetUsage, SLMFeatureSetUsage, SpatialFeatureSetUsage, SqlFeatureSetUsage, TransformFeatureSetUsage, VotingOnlyNodeFeatureSetUsage, WatcherFeatureSetUsage

public abstract class XPackFeatureUsage extends Object implements org.elasticsearch.xcontent.ToXContentObject, VersionedNamedWriteable
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final boolean
     
    protected final boolean
     
    protected final String
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY, EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
    XPackFeatureUsage(String name, boolean available, boolean enabled)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
     
    protected void
    innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     
     
    final org.elasticsearch.xcontent.XContentBuilder
    toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment

    Methods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable

    getMinimalSupportedVersion
  • Field Details

    • name

      protected final String name
    • available

      protected final boolean available
    • enabled

      protected final boolean enabled
  • Constructor Details

    • XPackFeatureUsage

      public XPackFeatureUsage(StreamInput input) throws IOException
      Throws:
      IOException
    • XPackFeatureUsage

      public XPackFeatureUsage(String name, boolean available, boolean enabled)
  • Method Details

    • name

      public String name()
    • available

      public boolean available()
    • enabled

      public boolean enabled()
    • getWriteableName

      public String getWriteableName()
      Specified by:
      getWriteableName in interface NamedWriteable
      Specified by:
      getWriteableName in interface VersionedNamedWriteable
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public final org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • innerXContent

      protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException