001package io.ebean.migration;
002
003/**
004 * Migration implementors that also implement this interface will be able to
005 * specify their checksum (for validation), instead of having it automatically
006 * computed or default to null (for Java Migrations).
007 *
008 * @author Roland Praml, FOCONIS AG
009 */
010public interface MigrationChecksumProvider {
011
012  /**
013   * Return the checksum for the given migration.
014   */
015  int getChecksum();
016}