org.qi4j.migration.assembly

## Class MigrationBuilder

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `MigrationBuilder(String fromVersion)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MigrationRules<EntityMigrationRule>` | `entityMigrationRules()`
    `MigrationRules<MigrationRule>` | `migrationRules()`
    `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)

    - #### entityMigrationRules

          public MigrationRules<EntityMigrationRule> entityMigrationRules()

    - #### migrationRules

          public MigrationRules<MigrationRule> migrationRules()