- Companion:
- class
Type members
Classlikes
Filter that always returns the same result, regardless of the pattern
Filter that always returns the same result, regardless of the pattern
Matcher that uses a glob pattern expression to match values.
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.
Composite Filter that accepts inputs that match at least one of the include filters and none of the exclude filters.
Matcher that uses regexes to match values.
Matcher that uses regexes to match values.
Filter that uses a single pattern to accept test strings.
Filter that uses a single pattern to accept test strings.
Value members
Concrete methods
Creates a new Filter from the provided path on Kamon's configuration. The configuration is expected to have the following structure:
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 the provided config. The configuration is expected to have the following structure:
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.