org.qi4j.migration.assembly
Class MigrationRules<T extends AbstractMigrationRule>

java.lang.Object
  extended by org.qi4j.migration.assembly.MigrationRules<T>

public class MigrationRules<T extends AbstractMigrationRule>
extends Object

Set of migration rules.


Constructor Summary
MigrationRules()
           
 
Method Summary
 void addRule(T migrationRule)
           
 Iterable<T> getRules(String fromVersion, String toVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationRules

public MigrationRules()
Method Detail

addRule

public void addRule(T migrationRule)

getRules

public Iterable<T> getRules(String fromVersion,
                            String toVersion)