public abstract class PackageManagementServiceEx extends PackageManagementService
PackageManagementService.ErrorDescription, PackageManagementService.Listener
Constructor and Description |
---|
PackageManagementServiceEx() |
Modifier and Type | Method and Description |
---|---|
abstract void |
fetchLatestVersion(InstalledPackage pkg,
CatchingConsumer<java.lang.String,java.lang.Exception> consumer) |
void |
installPackage(RepoPackage repoPackage,
java.lang.String version,
java.lang.String extraOptions,
PackageManagementService.Listener listener,
java.io.File workingDir) |
boolean |
shouldFetchLatestVersionsForOnlyInstalledPackages() |
abstract void |
updatePackage(InstalledPackage installedPackage,
java.lang.String version,
PackageManagementService.Listener listener) |
addRepository, canInstallToUser, canManageRepositories, canModifyRepository, compareVersions, fetchAllRepositories, fetchPackageDetails, fetchPackageVersions, getAllPackages, getAllPackagesCached, getAllRepositories, getID, getInstalledPackages, getInstallToUserText, installPackage, installToUserChanged, isInstallToUserSelected, reloadAllPackages, removeRepository, uninstallPackages
public abstract void updatePackage(InstalledPackage installedPackage, java.lang.String version, PackageManagementService.Listener listener)
public boolean shouldFetchLatestVersionsForOnlyInstalledPackages()
public abstract void fetchLatestVersion(InstalledPackage pkg, CatchingConsumer<java.lang.String,java.lang.Exception> consumer)
public void installPackage(RepoPackage repoPackage, java.lang.String version, java.lang.String extraOptions, PackageManagementService.Listener listener, java.io.File workingDir)