LinkageDetailsImpl (LinkageDetails details) { LinkageDetailsImpl linkageDetails = new LinkageDetailsImpl(); linkageDetails.setAdditionalArgs(new ArrayList<>(details.getAdditionalArgs())); linkageDetails.setLinkTask(convert(details.getLinkTask())); linkageDetails.setOutputLocation(details.getOutputLocation()); return linkageDetails; }