@Test public void testCompact_01() { ReverseEngineering engineering = new ReverseEngineering(); engineering.addIncludeTable(new IncludeTable("table1")); engineering.addIncludeTable(new IncludeTable("table2")); engineering.addIncludeTable(new IncludeTable("table3")); engineering.addIncludeColumn(new IncludeColumn("includeColumn")); FiltersConfigBuilder builder = new FiltersConfigBuilder(engineering); builder.compact(); assertEquals( "ReverseEngineering: \n" + " Catalog: null\n" + " Schema: null\n" + " IncludeTable: table1\n" + " IncludeColumn: includeColumn\n" + " IncludeTable: table2\n" + " IncludeColumn: includeColumn\n" + " IncludeTable: table3\n" + " IncludeColumn: includeColumn\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();  }