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