Пример #1
0
 // ===================================================================================
 //                                                                   Executing Element
 //                                                                   =================
 protected DfOutsideSqlPack getTargetSqlFileList() {
   final DfOutsideSqlPack sqlFileList = collectOutsideSqlChecked();
   final String specifiedSqlFile = DfSpecifiedSqlFile.getInstance().getSpecifiedSqlFile();
   if (specifiedSqlFile != null) {
     final DfOutsideSqlPack filteredList = new DfOutsideSqlPack();
     for (DfOutsideSqlFile outsideSqlFile : sqlFileList.getOutsideSqlFileList()) {
       final String fileName = outsideSqlFile.getPhysicalFile().getName();
       if (specifiedSqlFile.equals(fileName)) {
         filteredList.add(outsideSqlFile);
       }
     }
     return filteredList;
   } else {
     return sqlFileList;
   }
 }
Пример #2
0
 protected boolean isSkipDeleteOldClass() {
   return DfSpecifiedSqlFile.getInstance().getSpecifiedSqlFile() != null;
 }
Пример #3
0
 // ===================================================================================
 //                                                                            Accessor
 //                                                                            ========
 public void setSpecifiedSqlFile(String specifiedSqlFile) {
   DfSpecifiedSqlFile.getInstance().setSpecifiedSqlFile(specifiedSqlFile);
 }