code: public Map<String, Collection<String>> downloadAssetsInstallUtility(Set<String> assetsNames, File toDir, DownloadOption downloadOption, String user, String password,
                                                                          boolean isOverride) throws InstallException {
          fireProgressEvent(InstallProgressEvent.CHECK, 1, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_CHECKING"));
  
          createRepoConfig(toDir, assetsNames);
          if (assetsNames == null || assetsNames.isEmpty()) {
              throw ExceptionUtils.createByKey("ERROR_ASSETS_LIST_INVALID");
          }
  
          Map<String, Collection<String>> downloaded = new HashMap<String, Collection<String>>();
          RepositoryDownloadUtil.writeResourcesToDiskRepo(downloaded, toDir, getResolveDirector().getInstallResources(), this.product.getProductVersion(),
                                                          eventManager, getResolveDirector().defaultRepo());
          return downloaded;
      }
docs: Downloads the assets specified in assetsNames using Install Utility
  
  @param assetsNames Set of asset names to download
  @param toDir Location to download assets to
  @param downloadOption What dependencies should be downloaded as a DownloadOption object
  @param user user id of repository
  @param password password of repository
  @param isOverride not used
  @return Map of asset type pointing to a collection of asset names of that type downloaded
  @throws InstallException