Skip to content
Snippets Groups Projects
Commit fdbf5d4e authored by Alexander Diewald's avatar Alexander Diewald
Browse files

TaskMapping-Transformer: Add opt. dependency on task set transformation.

parent f51b7c41
No related branches found
No related tags found
No related merge requests found
SignalTransformation.java 3fd3e8dd5e40de40f224ad0da2b4da9f3c7e71cf YELLOW
TaskToExUTransformation.java dc3af333a287a6b0cdf6cde246c3e31f5e5f014a YELLOW
TaskToExUTransformation.java aca1a463fbe9a8467537e7cfc37c09dd10724809 YELLOW
TaskTransformation.java 540921ddf9e18dcd22128b9836ff85d13397382a YELLOW
......@@ -47,12 +47,13 @@ public class TaskToExUTransformation
/** Container for optional dependencies. */
protected static class OptionalInputs {
/**
* Dependency: Ensures a previous instantiation of target {@link ExecutionUnit}s for
* correct references.
*/
/** Dependency: Ensures a previous instantiation of target {@link ExecutionUnit}s. */
@Inject(optional = true)
SuperSet<ExecutionUnit> execUnits;
/** Dependency: Ensures a previous instantiation of task replica or diverse tasks. */
@Inject(optional = true)
SuperSet<Task> taskSet;
}
/**
......@@ -66,7 +67,7 @@ public class TaskToExUTransformation
@Provides
@ThreadScoped
public <N extends EObject, S extends EObject> SuperSet<TaskToExecutionUnitAllocationEntry>
transform(@Genotyped TaskExUMappingEncoding taskMapping /* , SuperSet<Task> taskSet */,
transform(@Genotyped TaskExUMappingEncoding taskMapping,
OptionalInputs optionalInputs) {
SuperSet<TaskToExecutionUnitAllocationEntry> allocations =
createSuperSet("TaskToExecUnit", TaskToExecutionUnitAllocationEntry.class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment