public class Migration extends Object
| Constructor and Description |
|---|
Migration(MigrationConfiguration configuration)
Creates an instance with given
configuration to migrate. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
executeProcess(List<String> command,
String errorMsg,
String successMsg,
String exceptionMsg) |
void |
migrate()
Performs the migration.
|
protected void |
prepareMigrationDirectory()
Prepare migration by cleaning everything, except if only node_modules
exists in the target directory.
|
public Migration(MigrationConfiguration configuration)
configuration to migrate.configuration - configuration to do migrationpublic void migrate()
throws MigrationToolsException,
MigrationFailureException
MigrationToolsException - Thrown when migration tools are missingMigrationFailureException - Thrown for an exception during migrationprotected void prepareMigrationDirectory()
Copyright © 2000–2025 Vaadin Ltd. All rights reserved.