|
virtual ZyppStatus | getPackageStatus (ZyppSel slbPtr, ZyppObj objPtr) |
| Gets the status information from the package manager. More...
|
|
virtual bool | setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr) |
| Informs the package manager about the new status and additionally sets the candidate object to the user chosen object. More...
|
|
virtual bool | anyMultiVersionToInstall (ZyppSel slbPtr, bool multiversion) const |
| Check if any package version is marked for installation where its 'multiversion' flag is set to 'multiversion'. More...
|
|
virtual bool | mixedMultiVersionPopup (bool multiversion) const |
| Ask user if he really wants to install incompatible package versions. More...
|
|
virtual bool | keyToStatus (const int &key, ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat) |
| Returns the new status to the given key (respecting the old status of th eobject). More...
|
|
virtual bool | toggleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat) |
| Toggles the package status (e.g. More...
|
|
void | solveResolvableCollections () |
|
Do a "small" solver run for all "resolvable collections", i.e., for selections, patterns, languages, patches.
|
|
Definition at line 267 of file NCPkgStatusStrategy.h.
◆ anyMultiVersionToInstall()
bool MultiVersionStatStrategy::anyMultiVersionToInstall |
( |
ZyppSel |
slbPtr, |
|
|
bool |
multiversion |
|
) |
| const |
|
virtual |
Check if any package version is marked for installation where its 'multiversion' flag is set to 'multiversion'.
- Parameters
-
slbPtr | The selectable whose status has to be calculated. |
multiversion | Check for multiversion or non-multiversion packages. |
- Returns
- bool
Definition at line 733 of file NCPkgStatusStrategy.cc.
◆ getPackageStatus()
ZyppStatus MultiVersionStatStrategy::getPackageStatus |
( |
ZyppSel |
slbPtr, |
|
|
ZyppObj |
objPtr |
|
) |
| |
|
virtual |
Gets the status information from the package manager.
- Parameters
-
slbPtr | The package whose status to calculate. |
- Returns
- UI_Status The new status of the given package
Reimplemented from NCPkgStatusStrategy.
Definition at line 665 of file NCPkgStatusStrategy.cc.
◆ mixedMultiVersionPopup()
bool MultiVersionStatStrategy::mixedMultiVersionPopup |
( |
bool |
multiversion | ) |
const |
|
virtual |
Ask user if he really wants to install incompatible package versions.
- Parameters
-
multiversion | Selected package is a multiversion package. |
- Returns
- bool Return 'true' if he hits [Continue], 'false' if [Cancel].
Definition at line 775 of file NCPkgStatusStrategy.cc.
◆ setObjectStatus()
bool MultiVersionStatStrategy::setObjectStatus |
( |
ZyppStatus |
newstatus, |
|
|
ZyppSel |
slbPtr, |
|
|
ZyppObj |
objPtr |
|
) |
| |
|
virtual |
Informs the package manager about the new status and additionally sets the candidate object to the user chosen object.
- Parameters
-
newStatus | The new package status |
slbPtr | The package pointer |
pkgPtr | The object pointer (used for candidate selection) |
- Returns
- bool
Reimplemented from NCPkgStatusStrategy.
Definition at line 685 of file NCPkgStatusStrategy.cc.
The documentation for this class was generated from the following files: