private static void displayAvailableFilters ( ProjectFile project ) { System . out . println ( "Unknown filter name supplied." ) ; System . out . println ( "Available task filters:" ) ; for ( Filter filter : project . getFilters ( ) . getTaskFilters ( ) ) { System . out . println ( " " + filter . getName ( ) ) ; } System . out . println ( "Available resource filters:" ) ; for ( Filter filter : project . getFilters ( ) . getResourceFilters ( ) ) { System . out . println ( " " + filter . getName ( ) ) ; } }
This utility displays a list of available task filters and a list of available resource filters .