@@ -0,0 +1,1936 @@
+package org.muml.psm.allocation.algorithm.qvto;%0A%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport org.eclipse.core.runtime.IProgressMonitor;%0Aimport org.eclipse.emf.ecore.EObject;%0Aimport org.eclipse.jdt.annotation.NonNull;%0Aimport org.eclipse.jdt.annotation.Nullable;%0Aimport org.eclipse.m2m.qvt.oml.ExecutionDiagnostic;%0A%0A/**%0A * Actually, just a simple wrapper around the%0A * %3Ccode%3EQVToSingleOutExtentTransformationRunner%3C/code%3E. Its%0A * %3Ccode%3ErunTransformation%3C/code%3E method executes the passed transformation%0A * and returns an %3Ccode%3EExecutionResult%3C/code%3E instance that encapsulates%0A * an %3Ccode%3EExecutionDiagnostic%22, which contains the details of the%0A * transformation run (e.g., success or failure), and the out extent's%0A * objects.%0A *%0A */%0Apublic class QVToBasedStrategyTransformationRunner %7B%0A%09%0A%09public static class ExecutionResult %7B%0A%09%09private ExecutionDiagnostic diagnostic;%0A%09%09private List%3CEObject%3E outObjectList;%0A%09%09%0A%09%09public ExecutionResult(ExecutionDiagnostic diagnostic,%0A%09%09%09%09List%3CEObject%3E outObjectList) %7B%0A%09%09%09this.diagnostic = diagnostic;%0A%09%09%09this.outObjectList = outObjectList;%0A%09%09%7D%0A%09%09%0A%09%09public ExecutionDiagnostic getDiagnostic() %7B%0A%09%09%09return diagnostic;%0A%09%09%7D%0A%09%09%0A%09%09public List%3CEObject%3E getOutObjects() %7B%0A%09%09%09return outObjectList;%0A%09%09%7D%0A%09%7D%0A%09%0A%09@NonNull%0A%09public static ExecutionResult runTransformation(@NonNull String transformationURI,%0A%09%09%09@NonNull EObject allocationSpecification,%0A%09%09%09@NonNull EObject oclContext,%0A%09%09%09@NonNull Map%3C@NonNull String, @Nullable Object%3E configurationPropertyMap,%0A%09%09%09@Nullable IProgressMonitor progressMonitor) %7B%0A%09%09QVToSingleOutExtentTransformationRunner runner =%0A%09%09%09%09new QVToSingleOutExtentTransformationRunner(%0A%09%09%09%09%09%09transformationURI,%0A%09%09%09%09%09%09configurationPropertyMap,%0A%09%09%09%09%09%09allocationSpecification,%0A%09%09%09%09%09%09oclContext);%0A%09%09ExecutionDiagnostic executionDiagnostic =%0A%09%09%09%09runner.runTransformation(progressMonitor);%0A%09%09return new ExecutionResult(executionDiagnostic,%0A%09%09%09%09runner.getOutExtent().getContents());%0A%09%7D%0A%09%0A%7D%0A

Add QVToBasedStrategyTransformationRunner class