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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIsAttributesContaining(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher, org.hamcrest.Matcher<? super T> valueMatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeMismatchSafely(io.opentelemetry.api.common.Attributes item, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(io.opentelemetry.api.common.Attributes item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Field Details
-
keyMatcher
-
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
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
-
describeMismatchSafely
public void describeMismatchSafely(io.opentelemetry.api.common.Attributes item, org.hamcrest.Description mismatchDescription) - Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
-
describeTo
-