Class ConfigServerContainerModelBuilder
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.config.model.builder.xml.ConfigModelBuilder<ContainerModel>
-
- com.yahoo.vespa.model.container.xml.ContainerModelBuilder
-
- com.yahoo.vespa.model.container.xml.ConfigServerContainerModelBuilder
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.config.model.api.ConfigModelPlugin
,java.lang.Comparable<com.yahoo.component.Component>
public class ConfigServerContainerModelBuilder extends ContainerModelBuilder
Builds the config model for the standalone config server.- Author:
- Ulf Lilleengen
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.vespa.model.container.xml.ContainerModelBuilder
ContainerModelBuilder.Networking
-
-
Field Summary
-
Fields inherited from class com.yahoo.vespa.model.container.xml.ContainerModelBuilder
configModelIds, log
-
-
Constructor Summary
Constructors Constructor Description ConfigServerContainerModelBuilder(CloudConfigOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addStatusHandlers(ApplicationContainerCluster cluster, boolean isHostedVespa)
void
doBuild(ContainerModel model, org.w3c.dom.Element spec, ConfigModelContext modelContext)
-
Methods inherited from class com.yahoo.vespa.model.container.xml.ContainerModelBuilder
handlesElements, isContainerTag
-
Methods inherited from class com.yahoo.config.model.builder.xml.ConfigModelBuilder
build, build, equals, getModelClass
-
-
-
-
Constructor Detail
-
ConfigServerContainerModelBuilder
public ConfigServerContainerModelBuilder(CloudConfigOptions options)
-
-
Method Detail
-
doBuild
public void doBuild(ContainerModel model, org.w3c.dom.Element spec, ConfigModelContext modelContext)
Description copied from class:ConfigModelBuilder
Convenience hook called fromConfigModelBuilder.build(com.yahoo.config.model.deploy.DeployState, com.yahoo.vespa.model.VespaModel, com.yahoo.config.model.ConfigModelRepo, com.yahoo.config.model.producer.AbstractConfigProducer, org.w3c.dom.Element)
. Implement this method to build a config model.- Overrides:
doBuild
in classContainerModelBuilder
spec
- The XML element that this builder should handle.modelContext
- A model context that contains the application package and other data needed by the config model constructor.
-
addStatusHandlers
protected void addStatusHandlers(ApplicationContainerCluster cluster, boolean isHostedVespa)
- Overrides:
addStatusHandlers
in classContainerModelBuilder
-
-