Constructor and 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.
|
Modifier and Type | Method and 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.
|
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)
public MigratorCommandLine(String[] args)
public String getCommandLine()
public List<org.eclipse.emf.common.util.URI> getModelURIs()
public org.eclipse.emf.common.util.URI getHistoryURI()
public int getSourceReleaseNumber()
public int getTargetReleaseNumber()
public ValidationLevel getLevel()
public boolean isBackup()
public List<Class<? extends OperationImplementation>> getOperations()
public List<Class<? extends LibraryImplementation>> getLibraries()
Copyright © 2020. All rights reserved.