Uses of Class
com.ultikits.ultitools.utils.PluginInstallUtils.ModuleIdentity
Packages that use PluginInstallUtils.ModuleIdentity
-
Uses of PluginInstallUtils.ModuleIdentity in com.ultikits.ultitools.utils
Methods in com.ultikits.ultitools.utils that return PluginInstallUtils.ModuleIdentityModifier and TypeMethodDescriptionprivate static PluginInstallUtils.ModuleIdentityPluginInstallUtils.resolveIdentity(String requested, PluginManager pluginManager, Function<UltiToolsPlugin, File> codeSource) Resolves the operator's argument into the one identity every later decision reads.Methods in com.ultikits.ultitools.utils with parameters of type PluginInstallUtils.ModuleIdentityModifier and TypeMethodDescriptionprivate static PluginInstallUtils.EntryStatePluginInstallUtils.classify(File file, PluginInstallUtils.ModuleIdentity identity) WhichPluginInstallUtils.EntryStatean entry of the modules folder is in.private static PluginInstallUtils.UninstallReportPluginInstallUtils.deleteModuleJars(PluginInstallUtils.ModuleIdentity identity) The JAR half ofPluginInstallUtils.uninstallPlugin(String): deletes every entry identified as this module's -- not only the first one listed, since a second JAR loads the module again on restart -- and reports the entries nothing could be read from.private static booleanPluginInstallUtils.noJarFound(File folder, PluginInstallUtils.ModuleIdentity identity, List<String> undetermined) What "nothing here could be identified as this module's" means, which depends on whether one was loaded.private static voidPluginInstallUtils.refuseIfAnotherModuleSharesTheJar(PluginInstallUtils.ModuleIdentity identity) Refuses before anything is unloaded when a JAR this uninstall would act on is also the JAR another running module was loaded from.private static voidPluginInstallUtils.refuseToTouchAnotherModulesJar(PluginInstallUtils.ModuleIdentity identity, List<File> toDelete) The invariant, checked immediately before anything is deleted: no JAR another loaded module was loaded from may be removed, whatever decided to get here.private static ThrowablePluginInstallUtils.unloadEvery(PluginInstallUtils.ModuleIdentity identity, PluginManager pluginManager) Unloads every matching module through the framework's full unload path and delists it.