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
-
Constructor Summary
ModifierConstructorDescriptionprivate
IsAttributesContaining
(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher, org.hamcrest.Matcher<? super T> valueMatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
-
describeMismatchSafely
public void describeMismatchSafely(io.opentelemetry.api.common.Attributes item, org.hamcrest.Description mismatchDescription) - Overrides:
describeMismatchSafely
in classorg.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
-
describeTo
-