Class PageTemplates
java.lang.Object
com.yahoo.vespa.model.container.search.PageTemplates
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.search.pagetemplates.PageTemplatesConfig.Producer
,Serializable
public class PageTemplates
extends Object
implements Serializable, com.yahoo.search.pagetemplates.PageTemplatesConfig.Producer
Owns the page templates to be handed to the qrs nodes.
Owned by a container cluster.
- Author:
- bratseth
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PageTemplates
create
(com.yahoo.config.application.api.ApplicationPackage applicationPackage) Creates from an application package.com.yahoo.search.pagetemplates.PageTemplatesConfig
The config produced by thisvoid
getConfig
(com.yahoo.search.pagetemplates.PageTemplatesConfig.Builder builder) toString()
static void
validate
(com.yahoo.config.application.api.ApplicationPackage applicationPackage) Validates page templates in an application package.
-
Constructor Details
-
PageTemplates
-
-
Method Details
-
validate
public static void validate(com.yahoo.config.application.api.ApplicationPackage applicationPackage) Validates page templates in an application package. The passed readers will be closed. -
create
public static PageTemplates create(com.yahoo.config.application.api.ApplicationPackage applicationPackage) Creates from an application package. The passed readers will be closed. -
getConfig
public void getConfig(com.yahoo.search.pagetemplates.PageTemplatesConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.search.pagetemplates.PageTemplatesConfig.Producer
-
toString
-
getConfig
public com.yahoo.search.pagetemplates.PageTemplatesConfig getConfig()The config produced by this- Returns:
- page templates config
-