Class: Gitlab::ImportExport::Project::Sample::RelationTreeRestorer

Inherits:
RelationTreeRestorer show all
Defined in:
lib/gitlab/import_export/project/sample/relation_tree_restorer.rb

Constant Summary

Constants inherited from RelationTreeRestorer

RelationTreeRestorer::GROUP_MODELS

Constants included from Import::Framework::ProgressTracking

Import::Framework::ProgressTracking::CACHE_EXPIRATION

Instance Attribute Summary

Attributes inherited from Group::RelationTreeRestorer

#importable

Instance Method Summary collapse

Methods inherited from RelationTreeRestorer

#restore_single_relation

Methods inherited from Group::RelationTreeRestorer

#restore, #restore_single_relation

Methods included from Import::Framework::ProgressTracking

#processed_entry?, #save_processed_entry, #with_progress_tracking

Constructor Details

#initializeRelationTreeRestorer

Returns a new instance of RelationTreeRestorer.



8
9
10
11
12
# File 'lib/gitlab/import_export/project/sample/relation_tree_restorer.rb', line 8

def initialize(...)
  super(...)

  @date_calculator = Gitlab::ImportExport::Project::Sample::DateCalculator.new(dates)
end