Interface Metadata.Custom
- All Superinterfaces:
ClusterState.FeatureAware,Diffable<Metadata.Custom>,NamedDiffable<Metadata.Custom>,NamedWriteable,ToXContent,ToXContentFragment,VersionedNamedWriteable,Writeable
- All Known Subinterfaces:
Metadata.NonRestorableCustom
- All Known Implementing Classes:
ComponentTemplateMetadata,ComposableIndexTemplateMetadata,DataStreamMetadata,ElasticsearchNodeCommand.UnknownMetadataCustom,FeatureMigrationResults,IndexGraveyard,IngestMetadata,NodesShutdownMetadata,PersistentTasksCustomMetadata,RepositoriesMetadata,ScriptMetadata
- Enclosing class:
- Metadata
public static interface Metadata.Custom
extends NamedDiffable<Metadata.Custom>, ToXContentFragment, ClusterState.FeatureAware
Custom metadata that persists (via XContent) across restarts. The deserialization method for each implementation must be registered
with the
NamedXContentRegistry.-
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_PARAMS -
Method Summary
Methods inherited from interface org.elasticsearch.cluster.ClusterState.FeatureAware
getRequiredFeatureMethods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
getMinimalSupportedVersion, getWriteableName
-
Method Details
-
context
EnumSet<Metadata.XContentContext> context()
-