Home | Trees | Index | Help |
---|
Package pybaz :: Class Factory |
|
object
--+
|
Factory
Abstract factory for objects created by the public interface.
Eventually, it will possible to alter the type all objects created by
PyBaz, system-wide (by assigning to pybaz.factory
) or locally (by using a
factory attribute in instances).
Currently, this is only used internally to localise the cyclic dependencies between various internal modules.
Method Summary | |
---|---|
Create an Archive. | |
Create an ArchiveLocation. | |
bool |
Does the object implement the Archive interface? |
bool |
Does the object implement the ArchiveLocation interface? |
bool |
Does the object implement the Revision interface? |
bool |
Does the object implement the SourceTree interface? |
bool |
Does the object implement the Version interface? |
Create a Revision. | |
Create a Version. | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
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.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
Archive(self, name)Create an Archive.
|
ArchiveLocation(self, url)Create an ArchiveLocation.
|
isArchive(self, obj)Does the object implement the Archive interface?
|
isArchiveLocation(self, obj)Does the object implement the ArchiveLocation interface?
|
isRevision(self, obj)Does the object implement the Revision interface?
|
isSourceTree(self, obj)Does the object implement the SourceTree interface?
|
isVersion(self, obj)Does the object implement the Version interface?
|
Revision(self, name)Create a Revision.
|
Version(self, name)Create a Version.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Jul 7 17:05:33 2006 | http://epydoc.sf.net |