|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.migration.assembly.AbstractMigrationRule
org.qi4j.migration.assembly.EntityMigrationRule
public class EntityMigrationRule
Migration rule for a specific set of entity types
Field Summary |
---|
Fields inherited from class org.qi4j.migration.assembly.AbstractMigrationRule |
---|
fromVersion, toVersion |
Constructor Summary | |
---|---|
EntityMigrationRule(String fromVersion,
String toVersion,
String[] entityTypes,
EntityMigrationOperation operationEntity)
|
Method Summary | |
---|---|
boolean |
appliesTo(String entityType)
|
boolean |
downgrade(JSONObject state,
StateStore stateStore,
Migrator migrator)
|
String[] |
getEntityTypes()
|
String |
toString()
|
boolean |
upgrade(JSONObject state,
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 EntityMigrationRule(String fromVersion, String toVersion, String[] entityTypes, EntityMigrationOperation operationEntity)
Method Detail |
---|
public String[] getEntityTypes()
public boolean upgrade(JSONObject state, StateStore stateStore, Migrator migrator) throws JSONException
JSONException
public boolean downgrade(JSONObject state, StateStore stateStore, Migrator migrator) throws JSONException
JSONException
public boolean appliesTo(String entityType)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |