this.project = project.getExtensionObject(ManagedProject.class);
}
public void handle(Transformation copy) {
try {
InputAndOutputMappingTreeStructureCache structureCache = project.getTransformationMappingStructureCache();
structureCache.copy(original.getID(), copy.getID());
} catch (DataCacheException ex) {
// This is not a fatal error. All it means is that the mapping structures for the
// copy will have to be recreated.
ErrorLog.log(EntityCopyMachine.class, "Failed to create copy of cached mapping structures for " +
"the transformation \"" + copy.getName(), ex);