liquibase.report.IndividualChangesetInfo 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.
The 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();
}
}