// =================================================================================== // 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; } }
protected boolean isSkipDeleteOldClass() { return DfSpecifiedSqlFile.getInstance().getSpecifiedSqlFile() != null; }
// =================================================================================== // Accessor // ======== public void setSpecifiedSqlFile(String specifiedSqlFile) { DfSpecifiedSqlFile.getInstance().setSpecifiedSqlFile(specifiedSqlFile); }