libzypp  13.10.6
zypp::target::rpm::RpmInstallReport Struct Reference

#include <RpmCallbacks.h>

Inheritance diagram for zypp::target::rpm::RpmInstallReport:
zypp::callback::ReportBase

Public Types

enum  Action { ABORT, RETRY, IGNORE }
 

Public Member Functions

virtual void start (const Pathname &name)
 Start the operation. More...
 
virtual bool progress (unsigned percent)
 Inform about progress Return false on abort. More...
 
virtual void finishInfo (const std::string &info_r)
 Additional rpm output to be reported in finish in case of success. More...
 
virtual void finish ()
 Finish operation in case of success. More...
 
virtual Action problem (Exception &excpt_r)
 
virtual void finish (Exception &excpt_r)
 Finish operation in case of fail, report fail exception. More...
 
- Public Member Functions inherited from zypp::callback::ReportBase
virtual ~ReportBase ()
 

Detailed Description

Definition at line 70 of file RpmCallbacks.h.

Member Enumeration Documentation

Enumerator
ABORT 
RETRY 
IGNORE 

Definition at line 73 of file RpmCallbacks.h.

Member Function Documentation

virtual void zypp::target::rpm::RpmInstallReport::start ( const Pathname &  name)
inlinevirtual

Start the operation.

Definition at line 80 of file RpmCallbacks.h.

virtual bool zypp::target::rpm::RpmInstallReport::progress ( unsigned  percent)
inlinevirtual

Inform about progress Return false on abort.

Definition at line 86 of file RpmCallbacks.h.

virtual void zypp::target::rpm::RpmInstallReport::finishInfo ( const std::string &  info_r)
inlinevirtual

Additional rpm output to be reported in finish in case of success.

Definition at line 90 of file RpmCallbacks.h.

virtual void zypp::target::rpm::RpmInstallReport::finish ( )
inlinevirtual

Finish operation in case of success.

Definition at line 94 of file RpmCallbacks.h.

virtual Action zypp::target::rpm::RpmInstallReport::problem ( Exception excpt_r)
inlinevirtual

Definition at line 97 of file RpmCallbacks.h.

virtual void zypp::target::rpm::RpmInstallReport::finish ( Exception excpt_r)
inlinevirtual

Finish operation in case of fail, report fail exception.

Definition at line 101 of file RpmCallbacks.h.


The documentation for this struct was generated from the following file: