public interface StringViewModelMigrator
Modifier and Type | Method and Description |
---|---|
boolean |
checkMigration(String serializedViewModel)
Checks whether a view model needs to be migrated.
|
String |
performMigration(String serializedViewModel)
Migrates a view model to the latest version.
|
boolean checkMigration(String serializedViewModel)
serializedViewModel
- the view model that should be checkedString performMigration(String serializedViewModel) throws ViewModelMigrationException
serializedViewModel
- the view model that should be checkedViewModelMigrationException
- in case of an errorCopyright © 2019. All rights reserved.