コード例 #1
0
 private void createAdditionRemedyDetail(IInstallableUnit iu, Remedy remedy) {
   RemedyIUDetail iuDetail = new RemedyIUDetail(iu);
   iuDetail.setStatus(RemedyIUDetail.STATUS_ADDED);
   iuDetail.setBeingInstalledVersion(iu.getVersion());
   iuDetail.setRequestedVersion(searchInOriginalRequest(iu.getId()));
   remedy.addRemedyIUDetail(iuDetail);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 private void createRemovalRemedyDetail(IInstallableUnit iu, Remedy remedy) {
   RemedyIUDetail iuDetail = new RemedyIUDetail(iu);
   iuDetail.setStatus(RemedyIUDetail.STATUS_REMOVED);
   iuDetail.setInstalledVersion(iu.getVersion());
   remedy.addRemedyIUDetail(iuDetail);
 }
コード例 #4
0
 private void createNotAddedRemedyDetail(IInstallableUnit iu, Remedy remedy) {
   RemedyIUDetail iuDetail = new RemedyIUDetail(iu);
   iuDetail.setStatus(RemedyIUDetail.STATUS_NOT_ADDED);
   iuDetail.setRequestedVersion(iu.getVersion());
   remedy.addRemedyIUDetail(iuDetail);
 }