Class MigratorCommandLine
- java.lang.Object
-
- org.eclipse.emf.edapt.internal.migration.execution.internal.MigratorCommandLine
-
-
Constructor Summary
Constructors Constructor Description MigratorCommandLine(String[] args)
Constructor that parses the command line.MigratorCommandLine(org.eclipse.emf.common.util.URI historyURI, List<org.eclipse.emf.common.util.URI> modelURIs, int sourceReleaseNumber, int targetReleaseNumber, ValidationLevel level, boolean backup, List<Class<? extends LibraryImplementation>> libraries, List<Class<? extends OperationImplementation>> operations)
Constructor that sets all the arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommandLine()
Generate the command line for the arguments.org.eclipse.emf.common.util.URI
getHistoryURI()
Get the URI of the history.ValidationLevel
getLevel()
Get the validation level.List<Class<? extends LibraryImplementation>>
getLibraries()
Get the library implementations.List<org.eclipse.emf.common.util.URI>
getModelURIs()
Get the URIs of the models.List<Class<? extends OperationImplementation>>
getOperations()
Get the operation implementations.int
getSourceReleaseNumber()
Get the source release number.int
getTargetReleaseNumber()
Get the target release number.boolean
isBackup()
Check whether a backup should be created before migration.
-
-
-
Constructor Detail
-
MigratorCommandLine
public MigratorCommandLine(org.eclipse.emf.common.util.URI historyURI, List<org.eclipse.emf.common.util.URI> modelURIs, int sourceReleaseNumber, int targetReleaseNumber, ValidationLevel level, boolean backup, List<Class<? extends LibraryImplementation>> libraries, List<Class<? extends OperationImplementation>> operations)
Constructor that sets all the arguments.
-
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.
-
getLevel
public ValidationLevel getLevel()
Get the validation level.
-
isBackup
public boolean isBackup()
Check whether a backup should be created before migration.
-
getOperations
public List<Class<? extends OperationImplementation>> getOperations()
Get the operation implementations.
-
getLibraries
public List<Class<? extends LibraryImplementation>> getLibraries()
Get the library implementations.
-
-