PyMigrationHookFactoryCollection
class PyMigrationHookFactoryCollection(migration_hook_factory_collection)
Bases: object
Interface for an object that contains MigrationHookFactorys registered for each hook type.
- Parameters: migration_hook_factory_collection (IMigrationHookFactoryCollection)
__init__(migration_hook_factory_collection)
Default init.
Args: : migration_hook_factory_collection: A collection that contains MigrationHookFactory registered for each hook type.
Returns: None.
- Parameters: migration_hook_factory_collection (IMigrationHookFactoryCollection)
- Return type: None
Methods
__init__ (migration_hook_factory_collection) |
Default init. |
---|---|
get_hooks (type_to_get) |
Gets the MigrationHookFactorys for the given hook type. |
get_hooks(type_to_get)
Gets the MigrationHookFactorys for the given hook type.
This type has to be an interface that inherits from IMigrationHook.
Args: : type_to_get: the hook type
- Parameters: type_to_get (Type *[*T ])