NonLiteral ce = ExecutionMetadataHelper.getChainExecution(executionMetadata, ci.getUri());
if (ce != null) {
chainExecution = new ChainExecution(executionMetadata, ce);
engineExecutions = new ArrayList<Execution>();
for (NonLiteral ex : ExecutionMetadataHelper.getExecutions(executionMetadata, ce)) {
engineExecutions.add(new Execution(chainExecution, executionMetadata, ex));
}
Collections.sort(engineExecutions);
} else {
chainExecution = null;
engineExecutions = null;