Class JobDslRunHandler

java.lang.Object
io.jenkins.plugins.opentelemetry.job.runhandler.JobDslRunHandler
All Implemented Interfaces:
RunHandler, Comparable<RunHandler>

@Extension(optional=true, dynamicLoadable=YES) public class JobDslRunHandler extends Object implements RunHandler
  • Constructor Details

  • Method Details

    • canCreateSpanBuilder

      public boolean canCreateSpanBuilder(@NonNull Run run)
      Specified by:
      canCreateSpanBuilder in interface RunHandler
    • createSpanBuilder

      @NonNull public io.opentelemetry.api.trace.SpanBuilder createSpanBuilder(@NonNull Run run, @NonNull io.opentelemetry.api.trace.Tracer tracer)
      Specified by:
      createSpanBuilder in interface RunHandler
    • configure

      public void configure(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
      Specified by:
      configure in interface RunHandler
    • ordinal

      public int ordinal()
      Specified by:
      ordinal in interface RunHandler
      Returns:
      the ordinal of this handler to execute run handlers in predictable order. The smallest ordinal is executed first.
    • setSeedJobTransientActionFactory

      @Inject public void setSeedJobTransientActionFactory(@NonNull javaposse.jobdsl.plugin.actions.SeedJobTransientActionFactory seedJobTransientActionFactory)