private static final class AttributesMatchers.IsAttributesContaining<T> extends org.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>
| Modifier and Type | Field and Description |
|---|---|
private org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> |
keyMatcher |
private org.hamcrest.Matcher<? super T> |
valueMatcher |
| Modifier | Constructor and Description |
|---|---|
private |
IsAttributesContaining(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher,
org.hamcrest.Matcher<? super T> valueMatcher) |
| Modifier and Type | Method and 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) |
private final org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher
private final org.hamcrest.Matcher<? super T> valueMatcher
private IsAttributesContaining(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher, org.hamcrest.Matcher<? super T> valueMatcher)
protected boolean matchesSafely(io.opentelemetry.api.common.Attributes item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>public void describeMismatchSafely(io.opentelemetry.api.common.Attributes item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<io.opentelemetry.api.common.Attributes>public void describeTo(org.hamcrest.Description description)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.