Package ccm :: Class Task
[hide private]
[frames] | no frames]

Class Task

source code

  object --+        
           |        
FourPartName --+    
               |    
       CCMObject --+
                   |
                  Task

Wrapper class for Synergy task object

Instance Methods [hide private]
 
__init__(self, session, fpn)
Create a FourPartName object based on a ifpn string.
source code
 
_getobjects(self) source code
 
append(self, ccm_object)
Associate an object to a task
source code
 
assign(self, username) source code
 
_getsynopsis(self) source code
 
objects(self) source code
 
__unicode__(self) source code
 
__str__(self)
Returns the string representation of the object.
source code
 
get_release_tag(self)
Get task release.
source code
 
set_release_tag(self, release_tag)
Set task release.
source code

Inherited from CCMObject: __getitem__, __setitem__, create_attribute, exists, finduse, is_predecessor_of, is_recursive_predecessor_of, is_recursive_predecessor_of_fast, is_recursive_successor_of_fast, is_recursive_sucessor_of, keys, predecessors, relate, session, successors

Inherited from CCMObject (private): _getsession

Inherited from FourPartName: __eq__, __ne__, __repr__, family, instance, is_same_family, name, objectname, type, version

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

Static Methods [hide private]
 
create(session, release_tag, synopsis="") source code

Inherited from FourPartName: convert, is_valid

Class Variables [hide private]
  release = property(get_release_tag, set_release_tag)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, session, fpn)
(Constructor)

source code 

Create a FourPartName object based on a ifpn string.

The string have to match the following patterns: - name-version:type:instance - name:version:releasedef:instance - Task database#id - Folder database#id

Anything else is considered as old release string format.

Overrides: CCMObject.__init__

__str__(self)
(Informal representation operator)

source code 
Returns the string representation of the object.
Overrides: FourPartName.__str__
(inherited documentation)

get_release_tag(self)

source code 
Get task release. Use release property!

set_release_tag(self, release_tag)

source code 
Set task release. Use release property!