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, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

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