Class EventMatchers

java.lang.Object
org.apache.hadoop.hbase.client.trace.hamcrest.EventMatchers

public final class EventMatchers extends Object
Helper methods for matching against instances of EventData.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.EventData>
    hasAttributes(org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> matcher)
     
    static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.EventData>
     
    static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.EventData>
    hasName(org.hamcrest.Matcher<String> matcher)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • hasAttributes

      public static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.EventData> hasAttributes(org.hamcrest.Matcher<io.opentelemetry.api.common.Attributes> matcher)
    • hasName

      public static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.EventData> hasName(String name)
    • hasName

      public static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.EventData> hasName(org.hamcrest.Matcher<String> matcher)