liquibase-core/src/main/java/liquibase/Liquibase.java
public List<ChangeSetStatus> getChangeSetStatuses(Contexts contexts, LabelExpression labelExpression,
                                                      boolean checkLiquibaseTables) throws LiquibaseException {
        changeLogParameters.setContexts(contexts);
        changeLogParameters.setLabels(labelExpression);

        DatabaseChangeLog changeLog = getDatabaseChangeLog();

        if (checkLiquibaseTables) {
            checkLiquibaseTables(true, changeLog, contexts, labelExpression);
        }

        changeLog.validate(database, contexts, labelExpression);

        ChangeLogIterator logIterator = getStandardChangelogIterator(contexts, labelExpression, changeLog);

        StatusVisitor visitor = new StatusVisitor(database);
        logIterator.run(visitor, new RuntimeEnvironment(database, contexts, labelExpression));
        return visitor.getStatuses();
    }
public List<ChangeSetStatus> getChangeSetStatuses(Contexts contexts, LabelExpression labelExpression,
                                                      boolean checkLiquibaseTables) throws LiquibaseException {
        changeLogParameters.setContexts(contexts);
        changeLogParameters.setLabels(labelExpression);

        DatabaseChangeLog changeLog = getDatabaseChangeLog();

        if (checkLiquibaseTables) {
            checkLiquibaseTables(true, changeLog, contexts, labelExpression);
        }

        changeLog.validate(database, contexts, labelExpression);

        ChangeLogIterator logIterator = getStandardChangelogIterator(contexts, labelExpression, changeLog);

        StatusVisitor visitor = new StatusVisitor(database);
        logIterator.run(visitor, new RuntimeEnvironment(database, contexts, labelExpression));
        return visitor.getStatuses();
    }
public List < ChangeSetStatus > getChangeSetStatuses ( Contexts contexts , LabelExpression labelExpression , boolean checkLiquibaseTables ) throws LiquibaseException { changeLogParameters . setContexts ( contexts ) ; changeLogParameters . setLabels ( labelExpression ) ; DatabaseChangeLog changeLog = getDatabaseChangeLog ( ) ; if ( checkLiquibaseTables ) { checkLiquibaseTables ( true , changeLog , contexts , labelExpression ) ; } changeLog . validate ( database , contexts , labelExpression ) ; ChangeLogIterator logIterator = getStandardChangelogIterator ( contexts , labelExpression , changeLog ) ; StatusVisitor visitor = new StatusVisitor ( database ) ; logIterator . run ( visitor , new RuntimeEnvironment ( database , contexts , labelExpression ) ) ; return visitor . getStatuses ( ) ; }
Returns the ChangeSetStatuses of all changesets in the change log file and history in the order they
would be ran.
Returns the ChangeSetStatuses of all changesets in the change log file and history in the order they would be ran .