- addRule
Adds a rule. Duplicates are not allowed and will be ignored.
- apply
Applies rules on given flag. Flag is only changed if at least one rule matched.
Otherwise, the same
- blacklist
Enables blacklist mode - everything is included by default, and user sets
explicit excludes.
- match
Matches value against the set of rules using provided white/black list mode.
- processExcludes
Process excludes rules.
- processIncludes
Process includes rules.
- whitelist
Enables whitelist mode - everything is excluded by default, and user set
explicit includes.
- <init>
Creates instance that uses provided matcher.
- exclude
Adds exclude rule.
- reset
Resets all the rules in this rule engine.
- smartMode
Sets blacklist or whitelist mode depending on rules. Smart mode determines the
following: * If there