Packages

object Filter

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Filter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Constant(result: Boolean) extends Filter with Product with Serializable

    Filter that always returns the same result, regardless of the pattern

  2. case class Glob(glob: String) extends Matcher with Product with Serializable

    Matcher that uses a glob pattern expression to match values.

  3. case class IncludeExclude(includeFilters: Seq[Matcher], excludeFilters: Seq[Matcher]) extends Filter with Product with Serializable

    Composite Filter that accepts inputs that match at least one of the include filters and none of the exclude filters.

  4. trait Matcher extends AnyRef

    Base trait for all matcher implementations

  5. case class Regex(pattern: String) extends Matcher with Product with Serializable

    Matcher that uses regexes to match values.

  6. case class SingleMatcher(matcher: Matcher) extends Filter with Product with Serializable

    Filter that uses a single pattern to accept test strings.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Accept: Constant

    Filter that accepts any value

  5. val Deny: Constant

    Filter that does not accept any value

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def from(config: Config): Filter

    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.

  12. def from(path: String): Filter

    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.

  13. def fromGlob(glob: String): Filter

    Creates a new Filter from a single glob pattern.

  14. def fromRegex(regexPattern: String): Filter

    Creates a new Filter from a single regex pattern.

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped