/** * Obtain the name of the worker, that performed the operation. * @param workerTaskData * @return */ private static String getWorkerName(WorkerTaskData workerTaskData) { final TaskSourceInfo sourceInfo = workerTaskData.getSourceInfo(); if (sourceInfo == null || Strings.isNullOrEmpty(sourceInfo.getName())) { return "Unknown"; } return sourceInfo.getName(); }
addProcessingWorkerInformation(trackedDocument, workerTask.getSourceInfo()); } catch (PolicyWorkerConverterException pwce) { addPolicyWorkerFailureFieldToDocument(