Class Adam

java.lang.Object
ch.ergon.adam.core.Adam

public class Adam extends Object
  • Field Details

  • Method Details

    • usingGitRepo

      public static Adam usingGitRepo(String referenceSchemaUrl, String targetUrl, String targetVersion, File migrationScriptPath, File gitRepo) throws IOException
      Throws:
      IOException
    • usingExportDirectory

      public static Adam usingExportDirectory(String targetUrl, String referenceSchemaProtocol, Path schemaSourcePath, Path exportPath) throws IOException
      Throws:
      IOException
    • usingClasspath

      public static Adam usingClasspath(String targetUrl, String referenceSchemaProtocol) throws IOException
      Throws:
      IOException
    • usingClasspath

      public static Adam usingClasspath(String targetUrl, String referenceSchemaProtocol, String schemaSourcePackage, String exportPackage) throws IOException
      Throws:
      IOException
    • execute

      public void execute() throws IOException
      Throws:
      IOException
    • setAllowUnknownDBVersion

      public void setAllowUnknownDBVersion(boolean allowUnknownDBVersion)
    • isAllowUnknownDBVersion

      public boolean isAllowUnknownDBVersion()
    • isMigrateSameVersion

      public boolean isMigrateSameVersion()
    • setMigrateSameVersion

      public void setMigrateSameVersion(boolean migrateSameVersion)
    • isAllowNonForwardMigration

      public boolean isAllowNonForwardMigration()
    • setAllowNonForwardMigration

      public void setAllowNonForwardMigration(boolean allowNonForwardMigration)
    • setIncludes

      public void setIncludes(Collection<String> includes)
    • setExcludes

      public void setExcludes(Collection<String> excludes)