public class KittyORMVersionFileDumpMigrator extends KittyORMVersionMigrator
KittyMigration
from
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
assetsRootUriString |
AME_SEQUENCE_NOT_APPLICABLE, context, currentVersion, logOn, logTag, migrationFactory, migrations, oldVersion, schemaName
Constructor and Description |
---|
KittyORMVersionFileDumpMigrator(int oldVersion,
int currentVersion,
android.content.Context ctx,
java.lang.String schemaName,
java.lang.String logTag,
boolean logOn,
java.lang.Object[] factoryParameters,
java.lang.Object[] migrationsParameters) |
Modifier and Type | Method and Description |
---|---|
protected KittyMigrationFactory |
getMigrationFactory(java.lang.Object... factoryParameters)
Returns child depended migrations factory
|
protected void |
setMigrations(java.lang.Object... migrationsParameters)
Hmmm, why I have done it like this instead of simple decencies injection via constructor? |
protected void |
setParameters(java.lang.Object[] factoryParameters,
java.lang.Object[] migrationsParameters) |
getMigrations, getMigrationsIterator, isMigrationSequenceApplicable, orderMigrationsList
public KittyORMVersionFileDumpMigrator(int oldVersion, int currentVersion, android.content.Context ctx, java.lang.String schemaName, java.lang.String logTag, boolean logOn, java.lang.Object[] factoryParameters, java.lang.Object[] migrationsParameters)
protected void setParameters(java.lang.Object[] factoryParameters, java.lang.Object[] migrationsParameters)
setParameters
in class KittyORMVersionMigrator
protected KittyMigrationFactory getMigrationFactory(java.lang.Object... factoryParameters)
KittyORMVersionMigrator
getMigrationFactory
in class KittyORMVersionMigrator
protected void setMigrations(java.lang.Object... migrationsParameters)
setMigrations
in class KittyORMVersionMigrator
migrationsParameters
-