public interface MigrationService
Modifier and Type | Interface and Description |
---|---|
static interface |
MigrationService.MigrationContext
Interface for a migration context, passed to the
MigrationService.Migrator . |
static class |
MigrationService.MigrationStatus
The status of a migration.
|
static interface |
MigrationService.Migrator
Interface for the implementation of a migration step.
|
static interface |
MigrationService.StatusChangeNotifier
Interface for the implementation of status change notification.
|
Modifier and Type | Method and Description |
---|---|
MigrationService.MigrationStatus |
getStatus(String id)
Gets the current status for a migration.
|
void |
runStep(String id,
String step)
Runs a migration step for a migration.
|
MigrationService.MigrationStatus getStatus(String id)
id
- the migration idnull
if the migration is unknownvoid runStep(String id, String step)
This launches the migration asynchronously. The status of the migration can be checked with getStatus(java.lang.String)
.
id
- the migration idstep
- the step idCopyright © 2018 Nuxeo. All rights reserved.