module FedoraMigrate
Override this methods to perform additional actions before and after migation of objects and datastreams.
To do so, simply define a FedoraMigrate::Hooks
module anywhere in you application and substitute methods for the ones listed below
Constants
- VERSION
Attributes
configurator[RW]
fedora_config[R]
source[R]
Public Class Methods
find(id)
click to toggle source
# File lib/fedora-migrate.rb, line 48 def find(id) FedoraMigrate.source.connection.find(id) end
migrate_repository(args)
click to toggle source
# File lib/fedora-migrate.rb, line 52 def migrate_repository(args) migrator = FedoraMigrate::RepositoryMigrator.new(args[:namespace], args[:options]) migrator.migrate_objects migrator.migrate_relationships migrator end