Interface IProjectDataMigration


public interface IProjectDataMigration
Migrates project data for a specified version of EDT. Supports all phases of migration process within one interface for easier management and improved maintainability.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets applicable project version for this migration.
    void
    migrateData(org.eclipse.core.resources.IProject project, MigrationPhase migrationPhase, ProjectContext projectContext)
    Migrates data of EDT project.
  • Method Details

    • getProjectVersion

      Version getProjectVersion()
      Gets applicable project version for this migration.
      Returns:
      The version of the project the migration is applicable for.
    • migrateData

      void migrateData(org.eclipse.core.resources.IProject project, MigrationPhase migrationPhase, ProjectContext projectContext) throws org.eclipse.core.runtime.CoreException
      Migrates data of EDT project.
      Parameters:
      project - The target project which internal data should be migrated.
      migrationPhase - Current migration phase.
      projectContext - Migration being used by different stages of the migration to exchange the data.
      Throws:
      org.eclipse.core.runtime.CoreException