}
return opWrapper;
}
private void linkScriptedOperations(OperationWrapper from) {
ScriptedOperations ops = from.getPipeline().getScriptedOperations(entityLookup);
for (Operation to : ops.getOperations()) {
link(from, to, RouteType.SCRIPTED);
OperationWrapper toWrapper = getWrapperFor(to);
for (PipelineActivity a : ops.getSources(to)) {
Route route = Route.fromScriptSource(a, from, toWrapper);
changes.add(new RouteInsertedChange(route));
}
}
}