|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PackageInstaller
A facility for downloading and installing and uninstalling packages.
| Method Summary | |
|---|---|
boolean |
install(RemotePackage p,
Downloader downloader,
SettingsController settings,
ProgressIndicator progress,
RepoManager manager,
FileOp fop)
Installs the package. |
boolean |
uninstall(LocalPackage p,
ProgressIndicator progress,
RepoManager manager,
FileOp fop)
Uninstall the package. |
| Method Detail |
|---|
boolean uninstall(@NonNull
LocalPackage p,
@NonNull
ProgressIndicator progress,
@NonNull
RepoManager manager,
@NonNull
FileOp fop)
p - The LocalPackage to delete.progress - A ProgressIndicator for showing progress and facilitating logging.manager - A RepoManager that knows about this package.fop - The FileOp to use. Should be FileOpUtils.create() if not in a
unit test.
true if the uninstall was successful, false otherwise.
boolean install(@NonNull
RemotePackage p,
@NonNull
Downloader downloader,
@Nullable
SettingsController settings,
@NonNull
ProgressIndicator progress,
@NonNull
RepoManager manager,
@NonNull
FileOp fop)
p - The RemotePackage to install.downloader - The Downloader used to download the archive.settings - The SettingsController to provide any settings needed.progress - A ProgressIndicator, to show install progress and facilitate
logging.manager - A RepoManager that knows about this package.fop - The FileOp to use. Should be FileOpUtils.create() if not in
a unit test.
true if the install was successful, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||