}
List<JobDetails> jobDetailsList = taskDetails.getJobDetailsList();
if (jobDetailsList != null && !jobDetailsList.isEmpty()){
for (JobDetails job : jobDetailsList){
CompositeIdentifier ids = new CompositeIdentifier(taskDetail.getTaskId(), job.getJobID());
addJobDetails(job,ids);
}
}
List<DataTransferDetails> dataTransferDetailsList = taskDetails.getDataTransferDetailsList();
if (dataTransferDetailsList != null && !dataTransferDetailsList.isEmpty()){
for (DataTransferDetails transferDetails : dataTransferDetailsList){
addDataTransferDetails(transferDetails, taskDetail.getTaskId());
}
}
List<ErrorDetails> errors = taskDetails.getErrors();
if (errors != null && !errors.isEmpty()){
for (ErrorDetails error : errors){
addErrorDetails(error, taskDetail.getTaskId());
}
}
TaskStatus taskStatus = taskDetails.getTaskStatus();
CompositeIdentifier ids = new CompositeIdentifier(nodeId, taskDetail.getTaskId());
if (taskStatus != null){
if (taskStatus.getExecutionState() != null){
addTaskStatus(taskStatus, ids);
}else {
taskStatus.setExecutionState(TaskState.UNKNOWN);