com.googlecode.flyway.core.api.migration
Interface MigrationInfoProvider


public interface MigrationInfoProvider

Migration implementors that also implement this interface will be able to specify their version and description manually, instead of having it automatically computed.


Method Summary
 String getDescription()
          Returns the description for the migration history.
 MigrationVersion getVersion()
          Returns the version after the migration is complete.
 

Method Detail

getVersion

MigrationVersion getVersion()
Returns the version after the migration is complete.

Returns:
The version after the migration is complete. Never null.

getDescription

String getDescription()
Returns the description for the migration history.

Returns:
The description for the migration history. Never null.


Copyright © 2012. All Rights Reserved.