Home | Trees | Index | Help |
---|
Package pybaz :: Class Category |
|
object
--+ |NamespaceObject
--+ |RevisionIterable
--+ |VersionIterable
--+ |BranchIterable
--+ |object
--+ | | |NamespaceObject
--+ | | |ArchiveItem
--+ | | |Setupable
--+ | Category
Arch category namespace object. :see: `Archive`, `Branch`, `Version`, `Revision`
Method Summary | |
---|---|
Create a category object from its name. | |
Instanciate a branch belonging to this category. | |
Does this namespace exists? Within the Arch model, history cannot be changed: created archive entries cannot be deleted. | |
Deprecated. | |
Deprecated. | |
Iterate over archive branches. | |
Iterate over library branches. | |
Inherited from Setupable | |
Deprecated. | |
Inherited from ArchiveItem | |
Deprecated. | |
Deprecated Fully qualified name of this namespace object. | |
Deprecated. | |
Inherited from BranchIterable | |
Iterate over library revisions. | |
Iterate over archive versions. | |
Inherited from VersionIterable | |
Iterate over library revisions. | |
Iterate over archive revisions. | |
Inherited from NamespaceObject | |
Compare types and fully-qualified names. | |
Compare types and fully-qualified names. | |
Fully-qualified name in angle brackets. | |
Fully-qualified name. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... |
Property Summary | |
---|---|
branches : Deprecated. | |
library_branches : Deprecated. | |
Inherited from ArchiveItem | |
archive : Archive which contains this namespace object. | |
fullname : Fully qualfied name of this namespace object. | |
nonarch : Non-arch part of this namespace name. |
Method Details |
---|
__init__(self,
name)
|
__getitem__(self,
b)
|
exists(self)Does this namespace exists? Within the Arch model, history cannot be changed: created archive entries cannot be deleted. However, it is possible to ``unregister`` an archive, or to find references to archives whose location is not known. Thus, existence cannot always be decided. Testing for the existence of a name in a non-registered archive raises `errors.ArchiveNotRegistered`. :return: whether this namespace object exists. :rtype: bool :raise errors.ArchiveNotRegistered: the archive name is not registered, so existence cannot be decided. :raise errors.ExecProblem: there was a problem accessing the archive.
|
get_branches(self)Deprecated. Branches in this category. :rtype: tuple of `Branch` :see: `iter_branches` |
get_library_branches(self)Deprecated. Branches in this category present in the library. :rtype: tuple of `Branch` :see: `iter_library_branches` |
iter_branches(self)Iterate over archive branches. :return: all existing branches in this namespace. :rtype: iterable of `Branch` :precondition: `self.exists()` returns ``True``.
|
iter_library_branches(self)Iterate over library branches. :return: branches in this namespace which are present in the revision library. :rtype: iterable of `Branch`
|
Property Details |
---|
branchesDeprecated. Branches in this category. :type: tuple of `Branch` :see: `Category.iter_branches` |
library_branchesDeprecated. Branches in this category present in the library. :type: tuple of `Branch` :see: `Category.iter_branches` |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Jul 11 07:23:51 2006 | http://epydoc.sf.net |