public interface AppMigration
Interface for App migrations.
App migrations are applied after the raw app information has been read from the input source and converted into AppContent.
Modifier and Type | Method and Description |
---|---|
AppContent |
applyMigration(AppContent appContent)
Apply the migrations to the given App content, returning the migrated App content.
|
Optional<AppFormatVersion> |
getTargetAppVersion()
Returns the target App version for this migration.
|
Optional<AppFormatVersion> getTargetAppVersion()
Returns the target App version for this migration.
If the incoming App is already at this version or later then the migration won’t be applied. If the target version is Optional.empty() then the migration will be invoked and has to perform its own checks.
AppContent applyMigration(AppContent appContent)
Apply the migrations to the given App content, returning the migrated App content.
appContent
- the incoming app contentCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.