|
enum | Category {
CAT_OTHER = 1
, CAT_YAST = 1<<1
, CAT_SECURITY = 1<<2
, CAT_RECOMMENDED = 1<<3
,
CAT_OPTIONAL = 1<<4
, CAT_DOCUMENT = 1<<5
} |
enum | InteractiveFlag { NoFlags = 0x0000
, Reboot = 0x0001
, Message = 0x0002
, License = 0x0004
} |
| Flags defining if and why this patch is interactive. More...
|
enum | SeverityFlag {
SEV_OTHER = 1
, SEV_NONE = 1<<1
, SEV_LOW = 1<<2
, SEV_MODERATE = 1<<3
,
SEV_IMPORTANT = 1<<4
, SEV_CRITICAL = 1<<5
} |
| Possible severity levels for (security) patches. More...
|
using | Self = Patch |
using | TraitsType = ResTraits<Self> |
using | Ptr = TraitsType::PtrType |
using | constPtr = TraitsType::constPtrType |
using | Contents = sat::SolvableSet |
using | Self = ResObject |
using | TraitsType = ResTraits<Self> |
using | Ptr = TraitsType::PtrType |
using | constPtr = TraitsType::constPtrType |
using | Self = Resolvable |
using | TraitsType = ResTraits<Self> |
using | Kind = TraitsType::KindType |
using | Ptr = TraitsType::PtrType |
using | constPtr = TraitsType::constPtrType |
|
static void | add_ref (const ReferenceCounted *ptr_r) |
| Called by zypp::intrusive_ptr to add a reference.
|
static void | release (const ReferenceCounted *ptr_r) |
| Called by zypp::intrusive_ptr to add a reference.
|
Capabilities | const |
| ResObject (const sat::Solvable &solvable_r) |
| Ctor.
|
| ~ResObject () override |
| Dtor.
|
std::ostream & | dumpOn (std::ostream &str) const override |
| Helper for stream output.
|
| operator sat::Solvable () const |
| This is a sat::SolvableType (allow implicit conversion in derived classes).
|
| Resolvable (const sat::Solvable &solvable_r) |
| Ctor.
|
| ~Resolvable () override |
| Dtor.
|
std::ostream & | dumpOn (std::ostream &str) const override |
| Helper for stream output.
|
| SolvableType () |
SolvableType & | operator= (const SolvableType &)=default |
| ~SolvableType () |
virtual void | ref_to (unsigned) const |
| Trigger derived classes after refCount was increased.
|
virtual void | unref_to (unsigned) const |
| Trigger derived classes after refCount was decreased.
|
template<class TRes> |
ResTraits< TRes >::PtrType | asKind (const ResObject::Ptr &p) |
| Convert ResObject::Ptr into Ptr of a certain Kind.
|
std::ostream & | operator<< (std::ostream &str, const Resolvable &obj) |
| Stream output.
|
std::ostream & | dumpOn (std::ostream &str, const Resolvable &obj) |
| More verbose stream output including dependencies.
|
template<class TRes> |
bool | isKind (const Resolvable::constPtr &p) |
| Test whether a Resolvable::Ptr is of a certain Kind.
|
template<class TRes> |
ResTraits< TRes >::PtrType | asKind (const Resolvable::Ptr &p) |
| Convert Resolvable::Ptr into Ptr of a certain Kind.
|
int | compareByN (const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs) |
| Compare Resolvable::constPtr according to kind and name.
|
int | compareByNVR (const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs) |
| Compare according to kind, name and edition.
|
int | compareByNVRA (const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs) |
| Compare Resolvable::constPtr according to kind, name, edition and arch.
|
std::ostream & | operator<< (std::ostream &str, const SolvableType< Resolvable > &obj) |
| Stream output.
|
std::ostream & | dumpOn (std::ostream &str, const SolvableType< Resolvable > &obj) |
| More verbose stream output including dependencies.
|
bool | operator== (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| Equal.
|
bool | operator!= (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| NotEqual.
|
bool | operator< (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| Less.
|
bool | isKind (const SolvableType< Resolvable > &solvable_r) |
| Test whether the Solvable is of a certain ResKind.
|
bool | identical (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| Test for same content.
|
bool | sameNVRA (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| Test for same name version release and arch.
|
int | compareByN (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| Compare according to kind and name.
|
int | compareByNVR (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| Compare according to kind, name and edition.
|
int | compareByNVRA (const SolvableType< LDerived > &lhs, const SolvableType< RDerived > &rhs) |
| Compare according to kind, name, edition and arch.
|
void | intrusive_ptr_add_ref (const ReferenceCounted *ptr_r) |
| intrusive_ptr hook to add_ref.
|
void | intrusive_ptr_release (const ReferenceCounted *ptr_r) |
| intrusive_ptr hook to release.
|
std::ostream & | operator<< (std::ostream &str, const ReferenceCounted &obj) |
| Stream output.
|
Class representing a patch.
A patch represents a specific problem that can be fixed by pulling in the patch dependencies.
Patches can be marked for installation but their installation is a no-op.
Definition at line 37 of file Patch.h.
bool zypp::Patch::interactive |
( |
| ) |
const |
Is the patch installation interactive?
(does it need user input?)
For security reasons patches requiring a reboot are not installed in an unattended mode. They are considered to be interactive
so the user gets informed about the need for reboot. ignoreRebootFlag_r may be used to explicitly turn off this behavior and include those patches (unless they actually contain interactive components as well, like messages or licenses).
Definition at line 259 of file Patch.cc.