for (TypedResource typedResource : inputResources.get(inPort)) {
// Add any mapped resources on output ports.
for (String port : outputMappers.keySet()) {
FileNameMapper outputMapper = outputMappers.get(port);
String[] outputFileNames = outputMapper.mapFileName(typedResource.getResource().getName());
// Mapper may produce zero or more filenames,
// which may or may not be what was wanted but
// only the user will know that.
if (outputFileNames != null) {
Union outputResources = new Union();