Tabnine Logo
InstallDetails.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.nxt.InstallDetails
constructor

Best Java code snippets using com.nxt.InstallDetails.<init> (Showing top 2 results out of 315)

origin: gradle.plugin.com.outlinegames/plugin

public static InstallDetails install(Project project, ImmutableMap<String, Asset> add,
                Set<PackageManifest> targetManifests) {
 Map<String, File> filesByGUID = buildGUIDToUnitypackageMap(targetManifests);
 HashMultimap<File, String> guidsByFile = HashMultimap.create();
 for (Map.Entry<String, Asset> entry : add.entrySet()) {
  Log.L.info("add " + entry.getKey() + " " + entry.getValue().getPath());
  File f = filesByGUID.get(entry.getKey());
  Log.L.info("Putting " + f.getPath() + " " + entry.getKey());
  guidsByFile.put(f, entry.getKey());
 }
 Set<File> completePackages = Sets.newHashSet();
 HashMultimap<File, String> partialPackages = HashMultimap.create();
 for (File file : guidsByFile.keys()) {
  PackageManifest manifest = findManifest(file, targetManifests);
  if (manifest.getFiles().size() == guidsByFile.get(file).size()) {
   Log.L.info("Install all {}", file.getName());
   completePackages.add(file);
  } else {
   Log.L.info("Install partially {}", file.getName());
   partialPackages.putAll(file, guidsByFile.values());
  }
 }
 Log.L.info("Installing {} complete packages, {} partial", completePackages.size(),
   partialPackages.size());
 return new InstallDetails(ImmutableSet.copyOf(completePackages),
   mergeArchives(project, partialPackages));
}
origin: gradle.plugin.com.banderous.gpm/plugin

public static InstallDetails install(Project project, ImmutableMap<String, Asset> add,
                Set<PackageManifest> targetManifests) {
 Map<String, File> filesByGUID = buildGUIDToUnitypackageMap(targetManifests);
 HashMultimap<File, String> guidsByFile = HashMultimap.create();
 for (Map.Entry<String, Asset> entry : add.entrySet()) {
  Log.L.info("add " + entry.getKey() + " " + entry.getValue().getPath());
  File f = filesByGUID.get(entry.getKey());
  Log.L.info("Putting " + f.getPath() + " " + entry.getKey());
  guidsByFile.put(f, entry.getKey());
 }
 Set<File> completePackages = Sets.newHashSet();
 HashMultimap<File, String> partialPackages = HashMultimap.create();
 for (File file : guidsByFile.keys()) {
  PackageManifest manifest = findManifest(file, targetManifests);
  if (manifest.getFiles().size() == guidsByFile.get(file).size()) {
   Log.L.info("Install all {}", file.getName());
   completePackages.add(file);
  } else {
   Log.L.info("Install partially {}", file.getName());
   partialPackages.putAll(file, guidsByFile.values());
  }
 }
 Log.L.info("Installing {} complete packages, {} partial", completePackages.size(),
   partialPackages.size());
 return new InstallDetails(ImmutableSet.copyOf(completePackages),
   mergeArchives(project, partialPackages));
}
com.nxtInstallDetails<init>

Popular methods of InstallDetails

  • getPartialPackages
  • getUnityPackages

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Reference (javax.naming)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now