use of com.yahoo.vespa.model.container.docproc.DocprocChains in project vespa by vespa-engine.
the class ContainerModelBuilder method buildDocproc.
private ContainerDocproc buildDocproc(ContainerCluster cluster, Element spec) {
Element docprocElement = XML.getChild(spec, "document-processing");
if (docprocElement == null)
return null;
addIncludes(docprocElement);
DocprocChains chains = new DomDocprocChainsBuilder(null, false).build(cluster, docprocElement);
ContainerDocproc.Options docprocOptions = DocprocOptionsBuilder.build(docprocElement);
return new ContainerDocproc(cluster, chains, docprocOptions, !standaloneBuilder);
}
Aggregations