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. | |
Does the object implement the Archive interface?... | |
Does the object implement the ArchiveLocation interface?... | |
Does the object implement the Revision interface?... | |
Does the object implement the SourceTree interface?... | |
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. :param name: archive name :type name: str :rtype: `Archive` |
ArchiveLocation(self, url)Create an ArchiveLocation. :type url: str |
isArchive(self, obj)Does the object implement the Archive interface? :rtype: bool |
isArchiveLocation(self, obj)Does the object implement the ArchiveLocation interface? :rtype: bool |
isRevision(self, obj)Does the object implement the Revision interface? :rtype: bool |
isSourceTree(self, obj)Does the object implement the SourceTree interface? :rtype: bool |
isVersion(self, obj)Does the object implement the Version interface? :rtype: bool |
Revision(self, name)Create a Revision. :param name: fully qualified name of the revision :type name: str :rtype: `Revision` |
Version(self, name)Create a Version. :param name: fully qualified name of the version. :type name: str :rtype: `Version` |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Feb 2 14:21:54 2006 | http://epydoc.sf.net |