libzypp  15.28.6
zypp::target::RpmPostTransCollector Class Reference

Extract and remember posttrans scripts for later execution. More...

#include <RpmPostTransCollector.h>

Classes

class  Impl
 RpmPostTransCollector implementation. More...
 

Public Member Functions

 RpmPostTransCollector (const Pathname &root_r)
 Default ctor. More...
 
 ~RpmPostTransCollector ()
 Dtor. More...
 
bool collectScriptFromPackage (ManagedFile rpmPackage_r)
 Extract and remember a packages posttrans script for later execution. More...
 
void executeScripts ()
 Execute te remembered scripts. More...
 
void discardScripts ()
 Discard all remembered scrips. More...
 

Private Attributes

RW_pointer< Impl_pimpl
 Implementation class. More...
 

Friends

std::ostream & operator<< (std::ostream &str, const RpmPostTransCollector &obj)
 
std::ostream & dumpOn (std::ostream &str, const RpmPostTransCollector &obj)
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const RpmPostTransCollector &obj)
 
std::ostream & dumOn (std::ostream &str, const RpmPostTransCollector &obj)
 

Detailed Description

Extract and remember posttrans scripts for later execution.

Todo:
Maybe embedd this into the TransactionSteps.

Definition at line 31 of file RpmPostTransCollector.h.

Constructor & Destructor Documentation

zypp::target::RpmPostTransCollector::RpmPostTransCollector ( const Pathname &  root_r)

Default ctor.

Definition at line 177 of file RpmPostTransCollector.cc.

zypp::target::RpmPostTransCollector::~RpmPostTransCollector ( )

Dtor.

Definition at line 181 of file RpmPostTransCollector.cc.

Member Function Documentation

bool zypp::target::RpmPostTransCollector::collectScriptFromPackage ( ManagedFile  rpmPackage_r)

Extract and remember a packages posttrans script for later execution.

Returns
whether a script was collected.

Definition at line 184 of file RpmPostTransCollector.cc.

void zypp::target::RpmPostTransCollector::executeScripts ( )

Execute te remembered scripts.

Definition at line 187 of file RpmPostTransCollector.cc.

void zypp::target::RpmPostTransCollector::discardScripts ( )

Discard all remembered scrips.

Definition at line 190 of file RpmPostTransCollector.cc.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const RpmPostTransCollector obj 
)
friend

Definition at line 193 of file RpmPostTransCollector.cc.

std::ostream& dumpOn ( std::ostream &  str,
const RpmPostTransCollector obj 
)
friend

Definition at line 196 of file RpmPostTransCollector.cc.

std::ostream & operator<< ( std::ostream &  str,
const RpmPostTransCollector obj 
)
related

Stream output

Definition at line 193 of file RpmPostTransCollector.cc.

std::ostream & dumOn ( std::ostream &  str,
const RpmPostTransCollector obj 
)
related

Verbose stream output

Member Data Documentation

RW_pointer<Impl> zypp::target::RpmPostTransCollector::_pimpl
private

Implementation class.

Pointer to implementation.

Definition at line 56 of file RpmPostTransCollector.h.


The documentation for this class was generated from the following files: