public final class AttributesMatchers extends Object
Attributes
.Modifier and Type | Class and Description |
---|---|
private static class |
AttributesMatchers.IsAttributesContaining<T> |
Modifier | Constructor and Description |
---|---|
private |
AttributesMatchers() |
Modifier and Type | Method and Description |
---|---|
static <T> org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
containsEntry(io.opentelemetry.api.common.AttributeKey<T> key,
org.hamcrest.Matcher<? super T> matcher) |
static <T> org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
containsEntry(io.opentelemetry.api.common.AttributeKey<T> key,
T value) |
static <T> org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
containsEntry(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher,
org.hamcrest.Matcher<? super T> valueMatcher) |
static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
containsEntry(String key,
long value) |
static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
containsEntry(String key,
String value) |
static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
containsEntryWithStringValuesOf(String key,
org.hamcrest.Matcher<Iterable<? extends String>> matcher) |
static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
containsEntryWithStringValuesOf(String key,
String... values) |
static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> |
isEmpty() |
private AttributesMatchers()
public static <T> org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> containsEntry(org.hamcrest.Matcher<io.opentelemetry.api.common.AttributeKey<? super T>> keyMatcher, org.hamcrest.Matcher<? super T> valueMatcher)
public static <T> org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> containsEntry(io.opentelemetry.api.common.AttributeKey<T> key, T value)
public static <T> org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> containsEntry(io.opentelemetry.api.common.AttributeKey<T> key, org.hamcrest.Matcher<? super T> matcher)
public static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> containsEntry(String key, String value)
public static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> containsEntry(String key, long value)
public static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> containsEntryWithStringValuesOf(String key, String... values)
public static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> containsEntryWithStringValuesOf(String key, org.hamcrest.Matcher<Iterable<? extends String>> matcher)
public static org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> isEmpty()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.