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

liquibase.report.IndividualChangesetInfo Maven / Gradle / Ivy

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

import liquibase.util.CollectionUtil;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
@AllArgsConstructor
public class IndividualChangesetInfo {
    private int index;
    private String changesetAuthor;
    private String changesetId;
    private String changelogFile;
    private String comment;
    private Boolean success;
    private String changesetOutcome;
    private String errorMsg;
    private String labels;
    private String contexts;
    private List attributes;
    private List generatedSql;

    /**
     * Used in the report template. Do not remove.
     *
     * @return true if there are any attributes
     */
    public boolean hasAttributes() {
        return !CollectionUtil.createIfNull(attributes).isEmpty();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy