All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jslsolucoes.db.migrate.se.MigrateEntrypoint Maven / Gradle / Ivy

There is a newer version: 1.0.24
Show newest version
package com.jslsolucoes.db.migrate.se;

import com.jslsolucoes.db.migrate.se.cli.ConsoleArgument;
import com.jslsolucoes.db.migrate.se.cli.ConsoleMode;
import com.jslsolucoes.db.migrate.se.config.MigrateConfigurationBuilder;

public class MigrateEntrypoint {
    public static void main(String[] args) throws Exception {
	ConsoleArgument consoleArgument = ConsoleMode.newConsole().withArgs(args).build();
	Migrate.newMigration().withConfiguration(MigrateConfigurationBuilder.newBuilder()
		.withScripts(consoleArgument.getScript()).withProperties(consoleArgument.getConfiguration()).build())
		.migrate();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy