private void createModificationRemedyDetail( IInstallableUnit beingInstalledIU, IInstallableUnit installedIU, Remedy remedy) { RemedyIUDetail iuDetail = new RemedyIUDetail(beingInstalledIU); iuDetail.setStatus(RemedyIUDetail.STATUS_CHANGED); iuDetail.setBeingInstalledVersion(beingInstalledIU.getVersion()); iuDetail.setInstalledVersion(installedIU.getVersion()); iuDetail.setRequestedVersion(searchInOriginalRequest(beingInstalledIU.getId())); remedy.addRemedyIUDetail(iuDetail); }
private void createRemovalRemedyDetail(IInstallableUnit iu, Remedy remedy) { RemedyIUDetail iuDetail = new RemedyIUDetail(iu); iuDetail.setStatus(RemedyIUDetail.STATUS_REMOVED); iuDetail.setInstalledVersion(iu.getVersion()); remedy.addRemedyIUDetail(iuDetail); }