13 #ifndef ZYPP_NG_SAT_COMPONENTS_PACKAGEPOLICYCOMPONENT_H_INCLUDED 14 #define ZYPP_NG_SAT_COMPONENTS_PACKAGEPOLICYCOMPONENT_H_INCLUDED 110 #endif // ZYPP_NG_SAT_COMPONENTS_PACKAGEPOLICYCOMPONENT_H_INCLUDED A Solvable object within the sat Pool.
~PackagePolicyComponent() override=default
Component managing package-level policies: retracted packages, PTF tracking, and the "reboot needed" ...
std::optional< EvaluatedSolvableSpec > _ptfMasterEval
PreparedStage
Execution stages for IPreparedPoolComponent (post-index phase).
void onReset(Pool &pool) override
Called on full pool reset — resets all evaluated forms.
SolvableSpec _ptfMasterSpec
hardwired: provides ptf()
SolvableSpec _needrebootSpec
user-supplied
bool isPtfMaster(const Solvable &solv_r) const
Orchestrator for a libsolv pool instance.
SolvableSpec _retractedSpec
hardwired: provides retracted-patch-package()
Interface for components that run AFTER the whatprovides index is built.
std::optional< EvaluatedSolvableSpec > _ptfPackageEval
bool isNeedreboot(const Solvable &solv_r) const
void prepare(PreparedPool &pp) override
Called by Pool::prepare() — evaluates all specs against the prepared pool.
void onInvalidate(Pool &pool, PoolInvalidation invalidation) override
Called when pool content changes — resets all evaluated forms.
A move-only, non-owning view of a Pool that guarantees the whatprovides index is valid.
std::optional< EvaluatedSolvableSpec > _retractedEval
PreparedStage stage() const override
bool isRetracted(const Solvable &solv_r) const
This file contains private API, this might break at any time between releases.
SolvableSpec _ptfPackageSpec
hardwired: provides ptf-package()
Blacklists, Reboot Specs, Storage Policy.
void attach(Pool &p) override
called when the component is attached to a pool
A pure data container describing a set of solvables by ident and/or provides.
This file contains private API, this might break at any time between releases.
std::optional< EvaluatedSolvableSpec > _needrebootEval
bool isPtfPackage(const Solvable &solv_r) const
PoolInvalidation
Defines the scope of an invalidation request for the Pool.
void setNeedrebootSpec(SolvableSpec spec)
Replace the reboot-needed spec.