Class PluginResolver.ResolutionResult

java.lang.Object
com.erudika.para.core.utils.PluginResolver.ResolutionResult
Enclosing class:
PluginResolver

public static final class PluginResolver.ResolutionResult extends Object
The outcome of resolving a single plugin.
Author:
Alex Bogdanovski [[email protected]]
  • Method Details

    • getPluginJar

      public File getPluginJar()
      Returns the plugin JAR in the plugin folder.
      Returns:
      the plugin JAR file
    • getDownloadedDependencies

      public List<File> getDownloadedDependencies()
      Returns the dependency JARs that were downloaded by this call.
      Returns:
      an unmodifiable list of newly downloaded files, possibly empty
    • getSupersededDependencies

      public List<File> getSupersededDependencies()
      Returns the older-version dependency JARs that were removed because another plugin required a newer version of the same library.
      Returns:
      an unmodifiable list of removed files, possibly empty
    • getTotalDependencies

      public int getTotalDependencies()
      Returns the total number of runtime dependencies the plugin declares.
      Returns:
      the dependency count