public boolean evaluate ( FieldContainer container , Map < GenericCriteriaPrompt , Object > promptValues ) { boolean result = true ; if ( m_criteria != null ) { result = m_criteria . evaluate ( container , promptValues ) ; // // If this row has failed, but it is a summary row, and we are // including related summary rows, then we need to recursively test // its children // if ( ! result && m_showRelatedSummaryRows && container instanceof Task ) { for ( Task task : ( ( Task ) container ) . getChildTasks ( ) ) { if ( evaluate ( task , promptValues ) ) { result = true ; break ; } } } } return ( result ) ; }
Evaluates the filter returns true if the supplied Task or Resource instance matches the filter criteria .