for (Path.Segment child : getProjections.getChildren()) {
final Path pathToSource = pathFactory.create(projectionsNode, child);
commands.add(new BasicGetNodeCommand(pathToSource));
}
// Now execute these commands ...
executor.execute(commands);
// Iterate over each region node obtained ...
for (GraphCommand command : commands) {
BasicGetNodeCommand getProjectionCommand = (BasicGetNodeCommand)command;
if (getProjectionCommand.hasNoError()) {