Search in sources :

Example 1 with DfConventionalTakeAsserter

use of org.dbflute.logic.replaceschema.takefinally.conventional.DfConventionalTakeAsserter in project dbflute-core by dbflute.

the class DfTakeFinallyProcess method conventionalTakeAssertIfNeeds.

// ===================================================================================
// Conventional TakeAssert
// =======================
protected void conventionalTakeAssertIfNeeds() {
    if (_suppressConventionalTakeAssert) {
        // e.g. as previous, alter-check
        return;
    }
    final DfConventionalTakeAssertMap map = getReplaceSchemaProperties().getConventionalTakeAssertMap();
    if (!map.hasConventionalTakeAssert()) {
        return;
    }
    _log.info("");
    _log.info("...Executing conventional take-assert (in take-finally)");
    map.showProperties();
    final DfConventionalTakeAsserter asserter = createConventionalTakeAsserter(map);
    asserter.assertConventionally();
}
Also used : DfConventionalTakeAssertMap(org.dbflute.properties.assistant.reps.DfConventionalTakeAssertMap) DfConventionalTakeAsserter(org.dbflute.logic.replaceschema.takefinally.conventional.DfConventionalTakeAsserter)

Aggregations

DfConventionalTakeAsserter (org.dbflute.logic.replaceschema.takefinally.conventional.DfConventionalTakeAsserter)1 DfConventionalTakeAssertMap (org.dbflute.properties.assistant.reps.DfConventionalTakeAssertMap)1