Class AttributesMatchers.IsAttributesContaining<T>

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
org.apache.hadoop.hbase.client.trace.hamcrest.AttributesMatchers.IsAttributesContaining<T>
All Implemented Interfaces:
org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes>, org.hamcrest.SelfDescribing
Enclosing class:
AttributesMatchers

private static final class AttributesMatchers.IsAttributesContaining<T> extends org.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>>
     
    private final org.hamcrest.Matcher<? super T>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    IsAttributesContaining(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher, org.hamcrest.Matcher<? super T> valueMatcher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeMismatchSafely(io.opentelemetry.api.common.Attributes item, org.hamcrest.Description mismatchDescription)
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(io.opentelemetry.api.common.Attributes item)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • keyMatcher

      private final org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher
    • valueMatcher

      private final org.hamcrest.Matcher<? super T> valueMatcher
  • Constructor Details

    • IsAttributesContaining

      private IsAttributesContaining(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher, org.hamcrest.Matcher<? super T> valueMatcher)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(io.opentelemetry.api.common.Attributes item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
    • describeMismatchSafely

      public void describeMismatchSafely(io.opentelemetry.api.common.Attributes item, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
    • describeTo

      public void describeTo(org.hamcrest.Description description)