org.qi4j.migration.assembly
Class MigrationRule
java.lang.Object
org.qi4j.migration.assembly.AbstractMigrationRule
org.qi4j.migration.assembly.MigrationRule
public class MigrationRule
- extends AbstractMigrationRule
Migration rule that does not apply to a specific entity type
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MigrationRule
public MigrationRule(java.lang.String fromVersion,
java.lang.String toVersion,
MigrationOperation operation)
upgrade
public void upgrade(StateStore stateStore,
Migrator migrator)
throws java.io.IOException
- Throws:
java.io.IOException
downgrade
public void downgrade(StateStore stateStore,
Migrator migrator)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object