public static FilterResult includedIf(boolean included,Supplier<String> inclusionReasonSupplier,Supplier<String> exclusionReasonSupplier){
  return included ? included(inclusionReasonSupplier.get()) : excluded(exclusionReasonSupplier.get());
}

public static FilterResult includedIf ( boolean included , Supplier < String > inclusionReasonSupplier , Supplier < String > exclusionReasonSupplier ) { return included ? included ( inclusionReasonSupplier . get ( ) ) : excluded ( exclusionReasonSupplier . get ( ) ) ; }
factory for creating filter results based on the condition given .
