use of org.dbflute.properties.DfOutsideSqlProperties in project dbflute-core by dbflute.
the class DfProcedureExtractor method filterByProperty.
// -----------------------------------------------------
// Filter by Property
// ------------------
protected List<DfProcedureMeta> filterByProperty(List<DfProcedureMeta> procedureList) {
if (_suppressFilterByProperty) {
return procedureList;
}
final DfOutsideSqlProperties prop = getOutsideSqlProperties();
final List<DfProcedureMeta> resultList = new ArrayList<DfProcedureMeta>();
log("...Filtering procedures by the property: before=" + procedureList.size());
int passedCount = 0;
for (DfProcedureMeta meta : procedureList) {
if (isTargetByProperty(meta, prop)) {
resultList.add(meta);
} else {
++passedCount;
}
}
if (passedCount == 0) {
log(" -> All procedures are target: count=" + procedureList.size());
}
return resultList;
}
Aggregations