liquibase.logging.mdc.customobjects.UpdateSummary 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.logging.mdc.CustomMdcObject;
import java.util.SortedMap;
/**
* This class is the representation of the summary available in the update command.
*/
public class UpdateSummary implements CustomMdcObject {
private String value;
private int run;
private int runPreviously;
private SortedMap skipped;
private int totalChangesets;
/**
* Constructor for service locator.
*/
public UpdateSummary() {
}
public UpdateSummary(String value, int run, int runPreviously, SortedMap skipped, int totalChangesets) {
this.value = value;
this.run = run;
this.runPreviously = runPreviously;
this.skipped = skipped;
this.totalChangesets = totalChangesets;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public int getRun() {
return run;
}
public void setRun(int run) {
this.run = run;
}
public int getRunPreviously() {
return runPreviously;
}
public void setRunPreviously(int runPreviously) {
this.runPreviously = runPreviously;
}
public SortedMap getSkipped() {
return skipped;
}
public void setSkipped(SortedMap skipped) {
this.skipped = skipped;
}
public int getTotalChangesets() {
return totalChangesets;
}
public void setTotalChangesets(int totalChangesets) {
this.totalChangesets = totalChangesets;
}
}