|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qi4j.migration.assembly.AbstractMigrationRule org.qi4j.migration.assembly.MigrationRule
public class MigrationRule
Migration rule that does not apply to a specific entity type
Field Summary |
---|
Fields inherited from class org.qi4j.migration.assembly.AbstractMigrationRule |
---|
fromVersion, toVersion |
Constructor Summary | |
---|---|
MigrationRule(String fromVersion,
String toVersion,
MigrationOperation operation)
|
Method Summary | |
---|---|
void |
downgrade(StateStore stateStore,
Migrator migrator)
|
String |
toString()
|
void |
upgrade(StateStore stateStore,
Migrator migrator)
|
Methods inherited from class org.qi4j.migration.assembly.AbstractMigrationRule |
---|
fromVersion, toVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MigrationRule(String fromVersion, String toVersion, MigrationOperation operation)
Method Detail |
---|
public void upgrade(StateStore stateStore, Migrator migrator) throws IOException
IOException
public void downgrade(StateStore stateStore, Migrator migrator) throws IOException
IOException
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |