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

Class PreparationCheckout

source code

       object --+    
                |    
PreparationAction --+
                    |
                   PreparationCheckout

Handle the checkout and update of project content.

Instance Methods [hide private]
 
__init__(self, config, builder)
Initialization.
source code
 
check(self)
Checks if all synergy resources are available.
source code
 
execute(self)
Creates a checkout of the project, or updates an existing checkout if one is found.
source code
 
__find_project(self, project)
Private method.
source code
 
__setup_project(self, project, coproject)
Private method.
source code
 
_sync(self, coproject)
Run the sync if the 'sync' property is defined to true in the configuration
source code
 
__set_release(self, project)
Update the release of the project hierarchy if required.
source code
 
__fix_baseline(self, coproject)
Check for project in a different status, then check them out.
source code
 
_check_conflicts(self, coproject)
Private method.
source code
 
__set_subbaselines(self, project)
Private method.
source code
 
__get_array(self, key)
Private method.
source code
 
__get_subbaselines(self)
Private method.
source code
 
__get_tasks(self)
Private method.
source code
 
__get_folders(self)
Private method.
source code
 
_set_tasks_and_folders(self, project)
Private method.
source code

Inherited from PreparationAction: get_session, get_threads

Inherited from PreparationAction (private): _check_object

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

Static Methods [hide private]
 
_clean_update_properties(project)
Private method.
source code
 
__find_subproject(subprojects, project)
Private method.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config, builder)
(Constructor)

source code 
Initialization.
Overrides: PreparationAction.__init__

check(self)

source code 
Checks if all synergy resources are available.
Overrides: PreparationAction.check

execute(self)

source code 

Creates a checkout of the project, or updates an existing checkout if one is found.

The work area is maintained as part of this.

Overrides: PreparationAction.execute