Interface RunHandler

All Superinterfaces:
Comparable<RunHandler>
All Known Implementing Classes:
DefaultRunHandler, JobDslRunHandler, MatrixRunHandler

public interface RunHandler extends Comparable<RunHandler>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    default int
     
    default void
    configure(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
     
    io.opentelemetry.api.trace.SpanBuilder
    createSpanBuilder(Run run, io.opentelemetry.api.trace.Tracer tracer)
     
    default int
     
  • Method Details

    • configure

      default void configure(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
    • canCreateSpanBuilder

      boolean canCreateSpanBuilder(@NonNull Run run)
    • createSpanBuilder

      @NonNull io.opentelemetry.api.trace.SpanBuilder createSpanBuilder(@NonNull Run run, @NonNull io.opentelemetry.api.trace.Tracer tracer)
    • ordinal

      default int ordinal()
      Returns:
      the ordinal of this handler to execute run handlers in predictable order. The smallest ordinal is executed first.
    • compareTo

      default int compareTo(RunHandler other)
      Specified by:
      compareTo in interface Comparable<RunHandler>