patientsknowbest/unit

Filters::targetFilter should have an option that defines strict/loose behavior

Closed this issue · 1 comments

AC:

  • javadoc is added to targetFilter, explaining behavior and reasoning
  • targetfilter has an enum parameter that's called smtg like 'inclusiontype' that has two values: 'INCLUDE_MESSAGES_WITHOUT_TARGET' or 'EXCLUDE_MESSAGES_WITHOUT_TARGET' or smtg; if that flag is true then the orElse() branch return true, otherwise it should return false

Feel free to implement this slightly differently (but you see my problem :) )

Fixed in #28