Class PluginInstallUtils.ModuleIdentity

java.lang.Object
com.ultikits.ultitools.utils.PluginInstallUtils.ModuleIdentity
Enclosing class:
PluginInstallUtils

private static final class PluginInstallUtils.ModuleIdentity extends Object
Everything later decisions need about which module this is, resolved once.

Two identity namespaces meet here and are reconciled in this one place: a module's runtime name (getPluginName(), which UltiToolsPlugin(String pluginName, ...) takes as an argument) and the name a JAR's plugin.yml declares. Gate 1's two blockers were both a comparison of a name from one space against a name from the other; after this resolution no code path compares across them -- entries are matched against keys, and loaded instances were already found by both.

  • Field Details

    • requested

      private final String requested
    • loaded

      private final List<UltiToolsPlugin> loaded
    • ownJars

      private final Set<String> ownJars
    • keys

      private final Set<String> keys
    • bystanderJars

      private final Set<String> bystanderJars
    • bystanderOf

      private final Map<String,String> bystanderOf
    • resolvedFromLoadedModule

      private final boolean resolvedFromLoadedModule
    • someCodeSourceUnknown

      private final boolean someCodeSourceUnknown
  • Constructor Details