blob: e0dd2aa3c09ceaafe44732ecb7138d082e5e0e77 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
-->
<!-- Descriptor for testing configuration groups. -->
<taeDescription xmlns="http://uima.apache.org/resourceSpecifier">
<frameworkImplementation>org.apache.uima.java</frameworkImplementation>
<primitive>false</primitive>
<delegateAnalysisEngineSpecifiers>
<delegateAnalysisEngine key="Annotator1">
<import location="AnnotatorWithDuplicateConfigurationGroups.xml"/>
</delegateAnalysisEngine>
<delegateAnalysisEngine key="Annotator2">
<import location="AnnotatorWithDuplicateConfigurationGroups.xml"/>
</delegateAnalysisEngine>
</delegateAnalysisEngineSpecifiers>
<analysisEngineMetaData>
<name>Aggregate TAE with Configuration Parameter Overrides</name>
<description>For testing configuration parameters.</description>
<version>1.0</version>
<vendor>The Apache Software Foundation</vendor>
<!-- Configuration Parameter Definitions -->
<configurationParameters searchStrategy="none">
<configurationGroup names="a b c">
<configurationParameter>
<name>Param1</name>
<description/>
<type>String</type>
<overrides>
<parameter>Annotator1/CommonParam</parameter>
</overrides>
</configurationParameter>
</configurationGroup>
<configurationGroup names="b c">
<configurationParameter>
<name>Param2</name>
<description/>
<type>String</type>
<overrides>
<parameter>Annotator1/BCParam</parameter>
</overrides>
</configurationParameter>
</configurationGroup>
<configurationGroup names="b">
<configurationParameter>
<name>Param3</name>
<description/>
<type>String</type>
<overrides>
<parameter>Annotator1/ABParam</parameter>
<parameter>Annotator2/BCParam</parameter>
</overrides>
</configurationParameter>
</configurationGroup>
</configurationParameters>
<!-- Values for the configuration parameters -->
<configurationParameterSettings>
<settingsForGroup name="a">
<nameValuePair>
<name>Param1</name>
<value><string>AggregateParam1a</string></value>
</nameValuePair>
</settingsForGroup>
<settingsForGroup name="b">
<nameValuePair>
<name>Param1</name>
<value><string>AggregateParam1b</string></value>
</nameValuePair>
<nameValuePair>
<name>Param2</name>
<value><string>AggregateParam2b</string></value>
</nameValuePair>
<nameValuePair>
<name>Param3</name>
<value><string>AggregateParam3b</string></value>
</nameValuePair>
</settingsForGroup>
<settingsForGroup name="c">
<nameValuePair>
<name>Param1</name>
<value><string>AggregateParam1c</string></value>
</nameValuePair>
<nameValuePair>
<name>Param2</name>
<value><string>AggregateParam2c</string></value>
</nameValuePair>
</settingsForGroup>
</configurationParameterSettings>
<flowConstraints>
<fixedFlow>
<node>Annotator1</node>
<node>Annotator2</node>
</fixedFlow>
</flowConstraints>
<!-- Capabilities: Inputs and Outputs -->
<capabilities>
<capability>
<inputs/>
<outputs/>
<languagesSupported/>
</capability>
</capabilities>
</analysisEngineMetaData>
</taeDescription>