Uses of Class
com.ultikits.ultitools.utils.PluginInstallUtils.InstallResult
Packages that use PluginInstallUtils.InstallResult
-
Uses of PluginInstallUtils.InstallResult in com.ultikits.ultitools.commands
Methods in com.ultikits.ultitools.commands with parameters of type PluginInstallUtils.InstallResultModifier and TypeMethodDescriptionprivate static voidPluginInstallCommands.sendInstallResult(org.bukkit.command.CommandSender sender, PluginInstallUtils.InstallResult result) Tells the operator what an install did: the success line, the reason when the module's API level was why it was not installed (plan 18-40), or the bare failure line otherwise. -
Uses of PluginInstallUtils.InstallResult in com.ultikits.ultitools.utils
Methods in com.ultikits.ultitools.utils that return PluginInstallUtils.InstallResultModifier and TypeMethodDescriptionprivate static PluginInstallUtils.InstallResultPluginInstallUtils.downloadAndAdmit(String link, String fileName, String requested, String version, int level) Downloads to<fileName>.part, checks it, and either renames it tofileNameor deletes it.PluginInstallUtils.InstallResult.failed()PluginInstallUtils.installReporting(String idString, String versionOrNull) Installs a module from the catalogue and says why when it does not (plan 18-40).private static PluginInstallUtils.InstallResultPluginInstallUtils.installVersion(PluginEntity plugin, String idString, String requested, String version, int level) The second half ofPluginInstallUtils.installReporting(java.lang.String, java.lang.String): the version is known; fetch its link and install it.private static PluginInstallUtils.InstallResultWhy a downloaded JAR is not installed, ornullto install it: the archive guard the module loader applies (SecurityPolicy.isSafeFileStructure(long, int); the.jarsuffix check ofSecurityPolicy.isValidModuleJar(java.io.File)does not apply to the.partname), then the declaredapi-version.