Interface Migration

All Known Implementing Classes:
AbstractMigration

public interface Migration
Interface to authoring a migration.
  • Method Details

    • execute

      MigrationSummary execute(org.apache.maven.shared.model.fileset.FileSet[] filesets)
      Executes the migration.
      Parameters:
      filesets - the files on which to perform the migration
      Returns:
      a summary of the migrations performed
    • getName

      String getName()
    • setName

      void setName(String name)
    • getDescription

      String getDescription()
    • setDescription

      void setDescription(String description)
    • isActive

      boolean isActive()
    • setActive

      void setActive(boolean active)
    • getFileNamePatterns

      Set<String> getFileNamePatterns()
    • setFileNamePatterns

      void setFileNamePatterns(Set<String> fileNamePatterns)
    • shouldBackupMigratedOriginalFiles

      boolean shouldBackupMigratedOriginalFiles()
    • setBackupMigratedOriginalFiles

      void setBackupMigratedOriginalFiles(boolean active)
    • getBackupCustomLocation

      String getBackupCustomLocation()
    • setBackupCustomLocation

      void setBackupCustomLocation(String customBackupLocation)
    • getNumberOfBacksUpsToKeep

      int getNumberOfBacksUpsToKeep()
    • setNumberOfBacksUpsToKeep

      void setNumberOfBacksUpsToKeep(int numberOfBacksUpsToKeep)
    • setMavenProject

      void setMavenProject(org.apache.maven.project.MavenProject project)
    • getMavenProject

      org.apache.maven.project.MavenProject getMavenProject()