private static void processTaskFilter ( ProjectFile project , Filter filter ) { for ( Task task : project . getTasks ( ) ) { if ( filter . evaluate ( task , null ) ) { System . out . println ( task . getID ( ) + "," + task . getUniqueID ( ) + "," + task . getName ( ) ) ; } } }
Apply a filter to the list of all tasks and show the results .