Class PageTemplateConfigurer
- java.lang.Object
-
- com.yahoo.search.pagetemplates.config.PageTemplateConfigurer
-
public class PageTemplateConfigurer extends Object
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
Constructors Constructor Description PageTemplateConfigurer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageTemplateRegistry
toRegistry(PageTemplatesConfig config)
Creates a new page template registry from the content of a config and returns it.
-
-
-
Method Detail
-
toRegistry
public static PageTemplateRegistry toRegistry(PageTemplatesConfig config)
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.
-
-