Module preparation :: Class PreparationSnapshot
[hide private]
[frames] | no frames]

Class PreparationSnapshot

source code

       object --+    
                |    
PreparationAction --+
                    |
                   PreparationSnapshot

Implements a Snapshot preparation function.

Support the parallel snapshotter.



Instance Methods [hide private]
 
__init__(self, config, builder)
Initialization.
source code
 
execute(self)
Method that implements snapshoting of the project into a folder.
source code
 
_check_version(self, targetdir)
Check the version file for snaphot and identify if the project has to be snapshot or not.
source code

Inherited from PreparationAction: check, get_session, get_threads

Inherited from PreparationAction (private): _check_object

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config, builder)
(Constructor)

source code 
Initialization.
Overrides: PreparationAction.__init__

execute(self)

source code 
Method that implements snapshoting of the project into a folder.
Overrides: PreparationAction.execute

_check_version(self, targetdir)

source code 
Check the version file for snaphot and identify if the project has to be snapshot or not. Returns True if the content of the file matches the project to snapshot (nothing to do). Returns falls either if the file is missing, or the content is different.