AdvisoryCollection

class libdnf5.advisory.AdvisoryCollection(*args)
get_advisory()

Get Advisory this AdvisoryCollection belongs to.

Return type:

Advisory

Returns:

newly construted Advisory object of this AdvisoryCollection.

get_advisory_id()

Get AdvisoryId of Advisory this AdvisoryCollection belongs to.

Return type:

AdvisoryId

Returns:

AdvisoryId of this AdvisoryCollection.

get_modules()

Get all AdvisoryModules stored in this AdvisoryCollection

Return type:

std::vector< libdnf5::advisory::AdvisoryModule,std::allocator< libdnf5::advisory::AdvisoryModule > >

Returns:

std::vector of AdvisorModules.

get_packages()

Get all AdvisoryPackages stored in this AdvisoryCollection

Return type:

std::vector< libdnf5::advisory::AdvisoryPackage,std::allocator< libdnf5::advisory::AdvisoryPackage > >

Returns:

std::vector of AdvisorPackages used as output.

is_applicable()

Whether this AdvisoryCollection is applicable. True when at least one AdvisoryModule in this AdvisoryCollection is active on the system, False otherwise.

thisown