Package svnmailer :: Package settings :: Module _base :: Class MapFinder
[show private | hide private]
[frames | no frames]

Class MapFinder

object --+
         |
        MapFinder


Logic to run the map finder classes
Method Summary
  __init__(self, mappers, config)
Initialization
  cleanup(self)
Asks the map finder classes to cleanup behind them
  find(self, spec)
Asks the map finder classes for a matching mapper
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Instance Variable Summary
list _mappers: The map finder class instances

Method Details

__init__(self, mappers, config)
(Constructor)

Initialization
Parameters:
mappers - The map finder classes
           (type=sequence)
config - The config object
           (type=BaseConfig)
Overrides:
__builtin__.object.__init__

cleanup(self)

Asks the map finder classes to cleanup behind them

find(self, spec)

Asks the map finder classes for a matching mapper
Parameters:
spec - The mapping spec
           (type=str)
Returns:
A new mapper based on the spec or None if no mapper found the spec suitable

Instance Variable Details

_mappers

The map finder class instances
Type:
list

Generated by Epydoc 2.0 on Sun Sep 25 20:49:10 2005 http://epydoc.sf.net