AdvisoryPackage

class AdvisoryPackage

Public Functions

AdvisoryPackage(const AdvisoryPackage &src)
AdvisoryPackage(AdvisoryPackage &&src) noexcept
AdvisoryPackage &operator=(const AdvisoryPackage &src)
AdvisoryPackage &operator=(AdvisoryPackage &&src) noexcept
~AdvisoryPackage()
std::string get_name() const

Get name of this AdvisoryPackage.

Returns:

Name of this AdvisoryPackage as std::string.

std::string get_epoch() const

Get epoch of this AdvisoryPackage.

Returns:

Epoch of this AdvisoryPackage as std::string.

std::string get_version() const

Get version of this AdvisoryPackage.

Returns:

Version of this AdvisoryPackage as std::string.

std::string get_release() const

Get release version of this AdvisoryPackage.

Returns:

Release of this AdvisoryPackage as std::string.

std::string get_evr() const

Get evr of this AdvisoryPackage.

Returns:

Evr of this AdvisoryPackage as std::string.

std::string get_arch() const

Get arch of this AdvisoryPackage.

Returns:

Arch of this AdvisoryPackage as std::string.

std::string get_nevra() const

Get NEVRA of this AdvisoryPackage.

Returns:

NEVRA of this AdvisoryPackage as std::string.

AdvisoryId get_advisory_id() const

Get AdvisoryId of Advisory this AdvisoryPackage belongs to.

Returns:

AdvisoryId of this AdvisoryPackage.

bool get_reboot_suggested() const

Get bool value whether reboot is suggested

Returns:

Reboot suggestion of this advisory package as bool

bool get_restart_suggested() const

Get bool value whether restart is suggested

Returns:

Restart suggestion of this advisory package as bool

bool get_relogin_suggested() const

Get bool value whether relogin is suggested

Returns:

Relogin suggestion of this advisory package as bool

Advisory get_advisory() const

Get Advisory this AdvisoryPackage belongs to.

Returns:

newly construted Advisory object of this AdvisoryPackage.

AdvisoryCollection get_advisory_collection() const

Get AdvisoryCollection this AdvisoryPackage belongs to.

Returns:

newly construted AdvisoryCollection object of this AdvisoryPackage.

Friends

friend class libdnf5::rpm::PackageQuery
friend class libdnf5::Goal