liquibase.logging.mdc.customobjects.SimpleStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
package liquibase.logging.mdc.customobjects;
import liquibase.changelog.ChangeSet;
import liquibase.logging.mdc.CustomMdcObject;
import java.util.List;
public class SimpleStatus implements CustomMdcObject {
private String message;
private String liquibaseTargetUrl;
private int changesetCount;
public SimpleStatus() {
}
public SimpleStatus(String message, String url, List unrunChangeSets) {
this.message = message;
this.liquibaseTargetUrl = url;
this.changesetCount = unrunChangeSets.size();
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getLiquibaseTargetUrl() {
return liquibaseTargetUrl;
}
public void setLiquibaseTargetUrl(String liquibaseTargetUrl) {
this.liquibaseTargetUrl = liquibaseTargetUrl;
}
public int getChangesetCount() {
return changesetCount;
}
public void setChangesetCount(int changesetCount) {
this.changesetCount = changesetCount;
}
}