BoostFunction asPathIndex0 = ToPairFunction.createWithFirstConstant(Integer.valueOf(0));
graph.addEdges(startNode, getHolder, getHolderPackage, getHolderPackageName, replaceSeparators, concatenatePath, asPathIndex0);
//combine path
ListAssemblingFunctionWithIndices toPathList = new ListAssemblingFunctionWithIndices(2);
graph.addEdge(asPathIndex0, toPathList);
graph.addEdge(asPathIndex1, toPathList);
BoostFunction pathConcatenation = new StringFunctions( StringFunctions.Operation.concatenate, null, "/doc-files/", null);
graph.addEdge(toPathList, pathConcatenation);
BoostFunction asIndex1 = ToPairFunction.createWithFirstConstant(Integer.valueOf(1));
graph.addEdge(pathConcatenation, asIndex1);
//combine
ListAssemblingFunctionWithIndices toList = new ListAssemblingFunctionWithIndices(2);
graph.addEdge(asIndex0, toList);
graph.addEdge(asIndex1, toList);
//Map writer = new StringFunctions( StringFunctions.Operation.concatenate, "content ", null, " filename ", null);
BoostFunction writer = new IOFunctions( IOFunctions.Operation.write);