Class WithSpanAttributeStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.opentelemetry.job.step.WithSpanAttributeStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

@Extension public class WithSpanAttributeStep extends org.jenkinsci.plugins.workflow.steps.Step
  • Constructor Details

    • WithSpanAttributeStep

      @DataBoundConstructor public WithSpanAttributeStep()
  • Method Details

    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception
    • getKey

      public String getKey()
    • setKey

      @DataBoundSetter public void setKey(String key)
    • getValue

      public Object getValue()
    • setValue

      @DataBoundSetter public void setValue(Object value)
    • getType

      @CheckForNull public String getType()
    • setType

      @DataBoundSetter public void setType(String type)
      Parameters:
      type - case-insensitive representation of AttributeType
    • setTarget

      @DataBoundSetter public void setTarget(String target)
      Parameters:
      target - case-insensitive representation of SpanAttributeTarget
    • getTarget

      @CheckForNull public String getTarget()