Class TestSpanData

  • All Implemented Interfaces:
    io.opentelemetry.sdk.trace.data.SpanData

    @Immutable
    public abstract class TestSpanData
    extends Object
    implements io.opentelemetry.sdk.trace.data.SpanData
    Immutable representation of all data collected by the Span class.
    • Method Detail

      • builder

        public static TestSpanData.Builder builder()
        Creates a new Builder for creating an SpanData instance.
        Returns:
        a new Builder.
      • hasEnded

        public final boolean hasEnded()
        Specified by:
        hasEnded in interface io.opentelemetry.sdk.trace.data.SpanData