@Test public void testCompact_03() { ReverseEngineering engineering = new ReverseEngineering(); engineering.addCatalog(new Catalog("APP1")); engineering.addCatalog(new Catalog("APP2")); engineering.addExcludeTable(new ExcludeTable("SYS_.*")); engineering.addExcludeColumn(new ExcludeColumn("calculated_.*")); FiltersConfigBuilder builder = new FiltersConfigBuilder(engineering); builder.compact(); assertEquals( "ReverseEngineering: \n" + " Catalog: APP1\n" + " Schema: null\n" + " IncludeTable: null\n" + " ExcludeColumn: calculated_.*\n" + " ExcludeTable: SYS_.*\n" + " Catalog: APP2\n" + " Schema: null\n" + " IncludeTable: null\n" + " ExcludeColumn: calculated_.*\n" + " ExcludeTable: SYS_.*\n\n" + " Use primitives", engineering.toString()); }
void compact() { addEmptyElements(); compactColumnFilters(); compactRelationshipFilters(); compactTableFilter(); compactProcedureFilter(); compactSchemas(); clearGlobalFilters(); }
FiltersConfigBuilder { void compact() { addEmptyElements(); compactColumnFilters(); compactRelationshipFilters(); compactTableFilter(); compactProcedureFilter(); compactSchemas(); clearGlobalFilters(); } }
FiltersConfigBuilder { void compact() { addEmptyElements(); compactColumnFilters(); compactRelationshipFilters(); compactTableFilter(); compactProcedureFilter(); compactSchemas(); clearGlobalFilters(); } FiltersConfigBuilder(ReverseEngineering engineering); }
FiltersConfigBuilder { void compact() { addEmptyElements(); compactColumnFilters(); compactRelationshipFilters(); compactTableFilter(); compactProcedureFilter(); compactSchemas(); clearGlobalFilters(); } FiltersConfigBuilder(ReverseEngineering engineering); FiltersConfigBuilder dataSource(DataSource dataSource); FiltersConfigBuilder dbAdapter(DbAdapter dbAdapter); FiltersConfig build(); }
FiltersConfigBuilder { void compact() { addEmptyElements(); compactColumnFilters(); compactRelationshipFilters(); compactTableFilter(); compactProcedureFilter(); compactSchemas(); clearGlobalFilters(); } FiltersConfigBuilder(ReverseEngineering engineering); FiltersConfigBuilder dataSource(DataSource dataSource); FiltersConfigBuilder dbAdapter(DbAdapter dbAdapter); FiltersConfig build();  }