if (config.isRunRawDataMigration()) {
retryOnFailure(new RawDataMigrator(config), Task.Estimate);
}
if (config.isRun1HAggregateDataMigration()) {
retryOnFailure(new AggregateDataMigrator(MigrationTable.ONE_HOUR, config), Task.Estimate);
}
if (config.isRun6HAggregateDataMigration()) {
retryOnFailure(new AggregateDataMigrator(MigrationTable.SIX_HOUR, config), Task.Estimate);
}
if (config.isRun1DAggregateDataMigration()) {
retryOnFailure(new AggregateDataMigrator(MigrationTable.TWENTY_FOUR_HOUR, config), Task.Estimate);
}
if (config.isDeleteAllDataAtEndOfMigration()) {
retryOnFailure(new DeleteAllData(config), Task.Estimate);
}