io.convergence_platform.common.database.migrations.BaseMigration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-lib Show documentation
Show all versions of service-lib Show documentation
Holds the common functionality needed by all Convergence Platform-based services written in Java.
The newest version!
package io.convergence_platform.common.database.migrations;
import io.convergence_platform.common.database.IDatabaseMigration;
import io.convergence_platform.common.database.IDatabasePreparationStep;
import java.util.List;
public abstract class BaseMigration implements IDatabasePreparationStep {
@Override
public String toString() {
StringBuilder deps = new StringBuilder();
String sep = "";
for (String dep : getDependencies()) {
deps.append(sep);
deps.append(dep);
sep = ", ";
}
return name() + " -> [" + deps.toString() + "]";
}
}