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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WithSpanAttributeStep.DescriptorImpl
static class
WithSpanAttributeStep.Execution
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description WithSpanAttributeStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
String
getTarget()
String
getType()
Object
getValue()
void
setKey(String key)
void
setTarget(String target)
void
setType(String type)
void
setValue(Object value)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Method Detail
-
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
-
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 ofAttributeType
-
setTarget
@DataBoundSetter public void setTarget(String target)
- Parameters:
target
- case-insensitive representation ofWithSpanAttributeStep.Target
-
getTarget
@CheckForNull public String getTarget()
-
-