Class WithNewSpanStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.opentelemetry.job.step.WithNewSpanStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class WithNewSpanStep
extends org.jenkinsci.plugins.workflow.steps.Step
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionWithNewSpanStep
(String label, List<SpanAttribute> attributes, Boolean setAttributesOnlyOnParent) -
Method Summary
-
Constructor Details
-
WithNewSpanStep
@DataBoundConstructor public WithNewSpanStep(String label, List<SpanAttribute> attributes, Boolean setAttributesOnlyOnParent)
-
-
Method Details
-
getLabel
-
getAttributes
-
isSetAttributesOnlyOnParent
public boolean isSetAttributesOnlyOnParent() -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<org.jenkinsci.plugins.workflow.steps.Step>
- Overrides:
getDescriptor
in classorg.jenkinsci.plugins.workflow.steps.Step
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-