org.qi4j.migration.assembly
Class MigrationBuilder

java.lang.Object
  extended by org.qi4j.migration.assembly.MigrationBuilder

public class MigrationBuilder
extends Object

Builder for set of migration rules. This needs to be passed in as metadata to the MigrationService.


Constructor Summary
MigrationBuilder(String fromVersion)
           
 
Method Summary
 MigrationRules<EntityMigrationRule> getEntityRules()
           
 MigrationRules<MigrationRule> getRules()
           
 VersionMigrationBuilder toVersion(String toVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationBuilder

public MigrationBuilder(String fromVersion)
Method Detail

toVersion

public VersionMigrationBuilder toVersion(String toVersion)

getEntityRules

public MigrationRules<EntityMigrationRule> getEntityRules()

getRules

public MigrationRules<MigrationRule> getRules()