Targets should be able to have multiple filters and let the user specify if all or just one filter must match,
Suggested implementation:
Create a FilterGroup class that contains several Filters and a FilterStrategy. The group checks the internal filters when a match request is sent, respecting its associated strategy.
Targets should be able to have multiple filters and let the user specify if all or just one filter must match,
Suggested implementation:
Create a FilterGroup class that contains several Filters and a FilterStrategy. The group checks the internal filters when a match request is sent, respecting its associated strategy.