Class MatrixRunHandler
java.lang.Object
io.jenkins.plugins.opentelemetry.job.runhandler.MatrixRunHandler
- All Implemented Interfaces:
RunHandler
,Comparable<RunHandler>
@Extension(optional=true,
dynamicLoadable=YES)
public class MatrixRunHandler
extends Object
implements RunHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canCreateSpanBuilder
(Run<?, ?> run) void
configure
(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config) io.opentelemetry.api.trace.SpanBuilder
createSpanBuilder
(Run<?, ?> run, io.opentelemetry.api.trace.Tracer tracer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.opentelemetry.job.runhandler.RunHandler
compareTo, ordinal
-
Constructor Details
-
MatrixRunHandler
- Throws:
ClassNotFoundException
-
-
Method Details
-
canCreateSpanBuilder
- Specified by:
canCreateSpanBuilder
in interfaceRunHandler
-
createSpanBuilder
@NonNull public io.opentelemetry.api.trace.SpanBuilder createSpanBuilder(@NonNull Run<?, ?> run, @NonNull io.opentelemetry.api.trace.Tracer tracer) - Specified by:
createSpanBuilder
in interfaceRunHandler
-
configure
public void configure(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config) - Specified by:
configure
in interfaceRunHandler
-