Filter that always returns the same result, regardless of the pattern
Matcher that uses a glob pattern expression to match values.
Composite Filter that accepts inputs that match at least one of the include filters and none of the exclude filters.
Base trait for all matcher implementations
Matcher that uses regexes to match values.
Filter that uses a single pattern to accept test strings.
Filter that accepts any value
Filter that does not accept any value
Creates a new Filter from the provided config.
Creates a new Filter from the provided config. The configuration is expected to have the following structure:
config { includes = [ "some/pattern", "regex:some[0-9]" ] excludes = [ ] }
By default the patterns are treated as Glob patterns but users can explicitly configure the pattern type by prefixing the pattern with either "glob:" or "regex:". If any of the elements are missing they will be considered empty.
Creates a new Filter from the provided path on Kamon's configuration.
Creates a new Filter from the provided path on Kamon's configuration. The configuration is expected to have the following structure:
config { includes = [ "some/pattern", "regex:some[0-9]" ] excludes = [ ] }
By default, the patterns are treated as Glob patterns but users can explicitly configure the pattern type by prefixing the pattern with either "glob:" or "regex:". If any of the elements are missing they will be considered empty.
Creates a new Filter from a single glob pattern.
Creates a new Filter from a single regex pattern.