Class ScriptMetadata

java.lang.Object
org.elasticsearch.script.ScriptMetadata
All Implemented Interfaces:
ClusterState.FeatureAware, Diffable<Metadata.Custom>, Metadata.Custom, NamedDiffable<Metadata.Custom>, NamedWriteable, VersionedNamedWriteable, Writeable, ToXContent, ToXContentFragment

public final class ScriptMetadata extends Object implements Metadata.Custom, Writeable, ToXContentFragment
ScriptMetadata is used to store user-defined scripts as part of the ClusterState using only an id as the key.