Up: Component summary Component

ExclusiveCombiner

Binds one set of inputs to the output ports. This component may be used in switch-case statements where the cases are mutually exclusive. The component supports multiple ports for each set of inputs and they all have their independent generic data types.

Version 1.1
Bundle tools
Categories Network Control
Specialties generic
Authors Marko Laakso (Marko.Laakso@Helsinki.FI)
Issue tracker View/Report issues
Source files component.xml
Usage Example with default values

Type parameters (generics)

Inputs

Name Type Mandatory Description
item1A Ta or Array<Ta> (generic) Optional Item A for the input set 1
item1B Tb or Array<Tb> (generic) Optional Item B for the input set 1
item1C Tc or Array<Tc> (generic) Optional Item C for the input set 1
item1D Td or Array<Td> (generic) Optional Item D for the input set 1
item1E Te or Array<Te> (generic) Optional Item E for the input set 1
item2A Ta or Array<Ta> (generic) Optional Item A for the input set 2
item2B Tb or Array<Tb> (generic) Optional Item B for the input set 2
item2C Tc or Array<Tc> (generic) Optional Item C for the input set 2
item2D Td or Array<Td> (generic) Optional Item D for the input set 2
item2E Te or Array<Te> (generic) Optional Item E for the input set 2
item3A Ta or Array<Ta> (generic) Optional Item A for the input set 3
item3B Tb or Array<Tb> (generic) Optional Item B for the input set 3
item3C Tc or Array<Tc> (generic) Optional Item C for the input set 3
item3D Td or Array<Td> (generic) Optional Item D for the input set 3
item3E Te or Array<Te> (generic) Optional Item E for the input set 3

Outputs

Name Type Description
itemA Ta or Array<Ta> (generic) Item A from the selected input set
itemB Tb or Array<Tb> (generic) Item B from the selected input set
itemC Tc or Array<Tc> (generic) Item C from the selected input set
itemD Td or Array<Td> (generic) Item D from the selected input set
itemE Te or Array<Te> (generic) Item E from the selected input set

Parameters

Name Type Default Description
exclude string "" Files and directories matching this regular expression are not copied. Matching is done for the base name of the filename that is the last component.
prefer int -1 Number of the input set that is used if there is content in various input sets. An error occurs if multiple sets are available and this parameter is negative.

Test cases

Test case Parameters IN
item1A
IN
item1B
IN
item1C
IN
item1D
IN
item1E
IN
item2A
IN
item2B
IN
item2C
IN
item2D
IN
item2E
IN
item3A
IN
item3B
IN
item3C
IN
item3D
IN
item3E
OUT
itemA
OUT
itemB
OUT
itemC
OUT
itemD
OUT
itemE
case1 (missing) (missing) (missing) (missing) (missing) (missing) item2A (missing) (missing) (missing) item2E (missing) (missing) (missing) (missing) (missing) itemA (missing) (missing) (missing) itemE
case2 (missing) (missing) (missing) (missing) item1D (missing) (missing) item2B (missing) (missing) (missing) (missing) (missing) (missing) (missing) (missing) (expecting failure) (expecting failure) (expecting failure) (expecting failure) (expecting failure)
case3 properties (missing) (missing) (missing) item1D (missing) (missing) item2B (missing) (missing) (missing) (missing) (missing) (missing) (missing) (missing) (missing) (missing) (missing) itemD (missing)

prefer=1

case4 properties (missing) (missing) (missing) item1D (missing) (missing) item2B (missing) (missing) (missing) (missing) (missing) (missing) (missing) (missing) (expecting failure) (expecting failure) (expecting failure) (expecting failure) (expecting failure)

prefer=3


Generated 2019-02-08 07:42:16 by Anduril 2.0.0