Class PageTemplateConfigurer
java.lang.Object
com.yahoo.search.pagetemplates.config.PageTemplateConfigurer
Provides a static method to convert a page template config into a PageTemplateRegistry.
In addition, instances of this can be created to subscribe to config and keep an up to date registry reference.
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PageTemplateRegistry
toRegistry
(PageTemplatesConfig config) Creates a new page template registry from the content of a config and returns it.
-
Constructor Details
-
PageTemplateConfigurer
public PageTemplateConfigurer()
-
-
Method Details
-
toRegistry
Creates a new page template registry from the content of a config and returns it. The returned registry will not be frozen. This should be done, by calling freeze(), before it is used.
-