public boolean isFilteredBy ( Class < ? extends ChangeSetFilter > filterType ) { if ( ! willRun ) { return false ; } if ( filterResults == null ) { return false ; } for ( ChangeSetFilterResult result : filterResults ) { if ( result . getFilter ( ) . equals ( filterType ) ) { return true ; } } return false ; }
Convenience method to check wither a given ChangeSetFilter type is a reason for running the change set or not .