Tabnine Logo
InstallDetails
Code IndexAdd Tabnine to your IDE (free)

How to use
InstallDetails
in
com.nxt

Best Java code snippets using com.nxt.InstallDetails (Showing top 6 results out of 315)

origin: gradle.plugin.com.outlinegames/plugin

 @TaskAction
 public void sync() {
  unityFiles = Synchroniser.sync(getProject());
  toMerge = unityFiles.getPartialPackages();
 }
}
origin: gradle.plugin.com.banderous.gpm/plugin

 @Override
 public void execute(Task task) {
  File staged = project.file("nxt/import/package.staged");
  if (staged.exists()) {
   UnityPuppet.installPackage(project, staged);
  }
  for (File file : build.unityFiles.getUnityPackages()) {
   UnityPuppet.installPackage(project, file);
  }
 }
});
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));
}
origin: gradle.plugin.com.outlinegames/plugin

 @Override
 public void execute(Task task) {
  File staged = project.file("nxt/import/package.staged");
  if (staged.exists()) {
   UnityPuppet.installPackage(project, staged);
  }
  for (File file : build.unityFiles.getUnityPackages()) {
   UnityPuppet.installPackage(project, file);
  }
 }
});
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

 @TaskAction
 public void sync() {
  unityFiles = Synchroniser.sync(getProject());
  toMerge = unityFiles.getPartialPackages();
 }
}
com.nxtInstallDetails

Javadoc

Created by alex on 13/01/2017.

Most used methods

  • <init>
  • getPartialPackages
  • getUnityPackages

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JTextField (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best plugins for Eclipse
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