//log.debug(String.format("handling result for job [%s]", results.getUri()));
ProfileResourceNode node = new ProfileResourceNode(results.getUri());
RequestMetaData requestMetaData = results.getRequestMetaData();
NodeMetaData metaData = new NodeMetaData();
metaData.setLastModified(requestMetaData.getTime());
metaData.setSize(results.getFileLength());
metaData.setName(requestMetaData.getName());
metaData.setExtension(ResourceUtils.getExtension(requestMetaData.getName()));
metaData.setResourceType(results.isArchive() ? ResourceType.CONTAINER : ResourceType.FILE);
metaData.setHash(requestMetaData.getHash());
metaData.setNodeStatus(NodeStatus.DONE);
node.setMetaData(metaData);
node.setExtensionMismatch(results.getExtensionMismatch());