Skip to content

Commit

Permalink
added constant for the RsourceTableManager key
Browse files Browse the repository at this point in the history
  • Loading branch information
rsfzi committed May 13, 2024
1 parent 4d2b2d7 commit e5b8ecc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
public abstract class AbstractQVTOExecutor {

private static final Logger LOGGER = Logger.getLogger(AbstractQVTOExecutor.class);
public static final String KEY_RESOURCE_TABLE_MANAGER = "resourceTableManager";

// store mapping model type -> model instance
private final QVToModelCache availableModels;
private final ModelTransformationCache transformationCache;
Expand Down Expand Up @@ -172,7 +174,7 @@ protected ExecutionDiagnostic executeTransformationInternal(QvtoModelTransformat
IResourceTableManager resourceTableManager, Map<String, Object> configParams) {
ModelExtent[] modelExtents = setupModelExtents(Objects.requireNonNull(modelTransformation));
Map<String, Object> contextParams = new HashMap<>(configParams);
configParams.put("resourceTableManager", resourceTableManager);
configParams.put(KEY_RESOURCE_TABLE_MANAGER, resourceTableManager);
ExecutionContext executionContext = setupExecutionContext(contextParams);
// now run the transformation assigned to the executor with the given
// input and output and execution context
Expand Down

0 comments on commit e5b8ecc

Please sign in to comment.