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

liquibase.report.OperationInfo Maven / Gradle / Ivy

There is a newer version: 4.31.1
Show newest version
package liquibase.report;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

@Data
public class OperationInfo {
    private String command;
    private String operationOutcome;
    private String operationOutcomeErrorMsg;
    private String exception;
    private String updateSummaryMsg;
    private Integer rowsAffected;
    private Boolean rollbackOnError = Boolean.FALSE; // assume false unless set
    private String labels;
    private String contexts;

    public void suppressException() {
        if (StringUtils.isNotEmpty(this.exception)) {
            this.exception = "Exception Suppressed";
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy