Class MigratorCommandLine


  • public class MigratorCommandLine
    extends Object
    Helper class to generate and parse the command line of the Migrator.
    Version:
    $Rev$
    Author:
    herrmama, $Author$
    • Constructor Detail

      • MigratorCommandLine

        public MigratorCommandLine​(String[] args)
        Constructor that parses the command line.
    • Method Detail

      • getCommandLine

        public String getCommandLine()
        Generate the command line for the arguments.
      • getModelURIs

        public List<org.eclipse.emf.common.util.URI> getModelURIs()
        Get the URIs of the models.
      • getHistoryURI

        public org.eclipse.emf.common.util.URI getHistoryURI()
        Get the URI of the history.
      • getSourceReleaseNumber

        public int getSourceReleaseNumber()
        Get the source release number.
      • getTargetReleaseNumber

        public int getTargetReleaseNumber()
        Get the target release number.
      • isBackup

        public boolean isBackup()
        Check whether a backup should be created before migration.