Apache Log4cxx  Version 1.3.0
Loading...
Searching...
No Matches
log4cxx::rolling::FileRenameAction Class Reference

#include <filerenameaction.h>

Inheritance diagram for log4cxx::rolling::FileRenameAction:
log4cxx::rolling::Action log4cxx::helpers::Object

Public Member Functions

 FileRenameAction (const File &toRename, const File &renameTo, bool renameEmptyFile)
 Constructor.
 
bool execute (log4cxx::helpers::Pool &pool) const override
 Perform action.
 
- Public Member Functions inherited from log4cxx::rolling::Action
virtual bool execute (log4cxx::helpers::Pool &pool) const =0
 Perform action.
 
void run (log4cxx::helpers::Pool &pool)
 
void close ()
 
bool isComplete () const
 Tests if the action is complete.
 
void reportException (const std::exception &)
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
virtual const helpers::ClassgetClass () const =0
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from log4cxx::rolling::Action
 Action ()
 Constructor.
 
 Action (LOG4CXX_PRIVATE_PTR(ActionPrivate) priv)
 
virtual ~Action ()
 

Constructor & Destructor Documentation

◆ FileRenameAction()

log4cxx::rolling::FileRenameAction::FileRenameAction ( const File toRename,
const File renameTo,
bool  renameEmptyFile 
)

Constructor.

Member Function Documentation

◆ execute()

bool log4cxx::rolling::FileRenameAction::execute ( log4cxx::helpers::Pool pool) const
overridevirtual

Perform action.

Returns
true if successful.

Implements log4cxx::rolling::Action.


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