#include <PMYouProduct.h>
Inheritance diagram for PMYouProduct:
Public Member Functions | |
PMYouProduct (const constInstSrcDescrPtr &, PMYouSettings &) | |
PMYouProduct (const string &product, const string &version, const string &baseArch, PMYouSettings &) | |
~PMYouProduct () | |
void | init (const std::string &product, const std::string &version, const std::string &baseArch, const std::string &youUrl, const std::string &path) |
void | init (const std::string &product, const std::string &version, const std::string &baseArch) |
void | setPatchPath (const Pathname &) |
Pathname | patchPath () |
Pathname | rpmPath (const PMPackagePtr &pkg, bool patchRpm=false) |
Pathname | scriptPath (const std::string &scriptName) |
Pathname | localScriptPath (const std::string &scriptName) |
std::string | product () |
std::string | distProduct () |
std::string | version () |
PkgArch | baseArch () |
void | setArchs (const std::list< PkgArch > &) |
std::list< PkgArch > | archs () |
PkgArch | arch () |
bool | businessProduct () |
bool | noYou () |
std::string | youUrl () |
void | setPatchFiles (const std::list< std::string > &patchFiles) |
std::list< std::string > | patchFiles () const |
Protected Member Functions | |
void | init (const std::string &path) |
Private Member Functions | |
REP_BODY (PMYouProduct) | |
Private Attributes | |
constInstSrcDescrPtr | _productDescr |
PMYouSettings & | _settings |
Pathname | _patchPath |
Pathname | _rpmPath |
Pathname | _scriptPath |
std::string | _product |
std::string | _version |
PkgArch | _baseArch |
std::string | _distProduct |
std::list< PkgArch > | _archs |
PkgArch | _arch |
std::string | _youUrl |
bool | _businessProduct |
bool | _noYou |
std::list< std::string > | _patchFiles |
|
Constructor. |
|
|
|
Destructor |
|
Return architecture. |
|
Return list of compatible architectures. |
|
Return base architecture. |
|
Return whether the product is a business product or not. Business products require authentification on the server. |
|
Return name of distribution. |
|
|
|
Init object with given product, version and baseArch values. |
|
Init object.
|
|
Return path of script at download location.
|
|
Return whether the product should be ignored by YOU or not. |
|
Return patch files associated with this product. |
|
Return path to patches on server. |
|
Return name of product. |
|
|
|
Return path to RPM for base architecture.
|
|
Return path of script.
|
|
Set list of compatible architectures. |
|
Set patch files associated with this product. |
|
Set path on server to directory containing the "patches", "rpms" and "scripts" directories. This path depends on the product. |
|
Return version of product. |
|
Return base URL where list of YOU servers is read from. Return default URL, if the information can't be read from the product information. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|