android-components / mozilla.components.support.migration.state / MigrationAction

MigrationAction

sealed class MigrationAction : Action (source)

Actions supported by the MigrationStore.

Types

Name Summary
Clear object Clear : MigrationAction
Clear (or reset) the migration state.
Completed object Completed : MigrationAction
A migration was completed.
MigrationRunResult data class MigrationRunResult : MigrationAction
Set the result of a migration run.
Started object Started : MigrationAction
A migration is needed and has been started.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.

Inheritors

Name Summary
Clear object Clear : MigrationAction
Clear (or reset) the migration state.
Completed object Completed : MigrationAction
A migration was completed.
MigrationRunResult data class MigrationRunResult : MigrationAction
Set the result of a migration run.
Started object Started : MigrationAction
A migration is needed and has been started.