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.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()protected voidinnerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) name()final org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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 org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
innerXContent
protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Throws:
IOException
-