Class ComponentTemplate

All Implemented Interfaces:
Diffable<ComponentTemplate>, Writeable, ToXContent, ToXContentObject

public class ComponentTemplate extends AbstractDiffable<ComponentTemplate> implements ToXContentObject
A component template is a re-usable Template as well as metadata about the template. Each component template is expected to be valid on its own. For example, if a component template contains a field "foo", it's expected to contain all the necessary settings/mappings/etc for the "foo" field. These component templates make up the individual pieces composing an index template.