@Override
        public void doBuild(ApiConfigModel configModel, Element spec, ConfigModelContext context) {
            NodeList pl = spec.getElementsByTagName("apiservice");
            if (pl.getLength() > 0) {
                for (int i=0; i < pl.getLength(); i++) {
                    configModel.apiServices.add(new DomTestServiceBuilder.ApiServiceBuilder(i).build(context.getDeployState(), context.getParentProducer(), (Element) pl.item(i)));
                }
            }
        }
This is a plugin for testing the plugin API exchange mechanism in
the vespamodel. It uses the API of another plugin.

@author  gjoranv
config-model/src/test/java/com/yahoo/vespa/model/test/ApiConfigModel.java