summaryrefslogtreecommitdiffstats
path: root/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/core/execution/MigrationExecutor.java
blob: aba5056b482837c03ae4b1ada827b96f851dda40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.openecomp.sdc.asdctool.migration.core.execution;

import org.openecomp.sdc.asdctool.migration.core.MigrationException;
import org.openecomp.sdc.asdctool.migration.core.task.Migration;

public interface MigrationExecutor {

    /**
     * @param migration the migration to execute
     * @return a {@link MigrationExecutionResult} with the relevant data on the current migration execution;
     * @throws MigrationException in case there was an unexpected exception during migration
     */
    MigrationExecutionResult execute(Migration migration) throws MigrationException;

}