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

liquibase.logging.mdc.customobjects.UpdateSummary Maven / Gradle / Ivy

The newest version!
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy