java.lang.Object
org.elasticsearch.xpack.core.XPackFeatureUsage
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,ToXContent,ToXContentObject
- Direct Known Subclasses:
AggregateMetricFeatureSetUsage,AnalyticsFeatureSetUsage,ArchiveFeatureSetUsage,DataStreamFeatureSetUsage,DataStreamLifecycleFeatureSetUsage,DataTiersFeatureSetUsage,EnrichFeatureSetUsage,EnterpriseSearchFeatureSetUsage,EqlFeatureSetUsage,EsqlFeatureSetUsage,FrozenIndicesFeatureSetUsage,GpuVectorIndexingFeatureSetUsage,GraphFeatureSetUsage,HealthApiFeatureSetUsage,IndexLifecycleFeatureSetUsage,InferenceFeatureSetUsage,LoggingFeatureSetUsage,LogsDBFeatureSetUsage,LogstashFeatureSetUsage,MachineLearningFeatureSetUsage,MonitoringFeatureSetUsage,ProfilingUsage,RemoteClusterFeatureSetUsage,RollupFeatureSetUsage,SearchableSnapshotFeatureSetUsage,SecurityFeatureSetUsage,SLMFeatureSetUsage,SpatialFeatureSetUsage,SqlFeatureSetUsage,TimeSeriesFeatureSetUsage,TransformFeatureSetUsage,VectorDBDocumentFeatureSetUsage,VotingOnlyNodeFeatureSetUsage,WatcherFeatureSetUsage
public abstract class XPackFeatureUsage
extends Object
implements ToXContentObject, VersionedNamedWriteable
-
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
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final booleanprotected final StringFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionXPackFeatureUsage(String name, boolean available, boolean enabled) XPackFeatureUsage(StreamInput input) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanenabled()booleaninthashCode()protected voidinnerXContent(XContentBuilder builder, ToXContent.Params params) name()final XContentBuildertoXContent(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
isFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
getMinimalSupportedVersion, supportsVersion
-
Field Details
-
name
-
available
protected final boolean available -
enabled
protected final boolean enabled
-
-
Constructor Details
-
XPackFeatureUsage
- Throws:
IOException
-
XPackFeatureUsage
-
-
Method Details
-
name
-
available
public boolean available() -
enabled
public boolean enabled() -
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
innerXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-