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 url, CatalogueClient.Version metadata, String fileName, String requested, String version, int level) Verifies the download, then checks it as an archive and by its declaredapi-version, and either renames it tofileNameor deletes it.PluginInstallUtils.InstallResult.failed()PluginInstallUtils.installReporting(String idString, String versionOrNull) Installs a module from the v2 catalogue and says why when it does not (plan 22-18).private static PluginInstallUtils.InstallResultPluginInstallUtils.installVersion(CatalogueClient.Version metadata, String idString, String requested, String version, int level) The second half ofPluginInstallUtils.installReporting(java.lang.String, java.lang.String): the version is known.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.