Class BuildSpanAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- org.datadog.jenkins.plugins.datadog.model.DatadogPluginAction
-
- org.datadog.jenkins.plugins.datadog.traces.BuildSpanAction
-
- All Implemented Interfaces:
Action
,ModelObject
,Serializable
,org.jenkinsci.plugins.workflow.actions.PersistentAction
public class BuildSpanAction extends DatadogPluginAction
Keeps build span propagation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildSpanAction.ConverterImpl
static class
BuildSpanAction.ConverterV1
static class
BuildSpanAction.ConverterV2
-
Constructor Summary
Constructors Constructor Description BuildSpanAction(TraceSpan.TraceSpanContext buildSpanContext, TraceSpan.TraceSpanContext upstreamSpanContext)
BuildSpanAction(TraceSpan.TraceSpanContext buildSpanContext, TraceSpan.TraceSpanContext upstreamSpanContext, int version, String buildUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getAndIncrementVersion()
TraceSpan.TraceSpanContext
getBuildSpanContext()
String
getBuildUrl()
TraceSpan.TraceSpanContext
getUpstreamSpanContext()
int
hashCode()
BuildSpanAction
setBuildUrl(String buildUrl)
String
toString()
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Constructor Detail
-
BuildSpanAction
public BuildSpanAction(TraceSpan.TraceSpanContext buildSpanContext, @Nullable TraceSpan.TraceSpanContext upstreamSpanContext)
-
BuildSpanAction
public BuildSpanAction(TraceSpan.TraceSpanContext buildSpanContext, @Nullable TraceSpan.TraceSpanContext upstreamSpanContext, int version, String buildUrl)
-
-
Method Detail
-
getBuildSpanContext
public TraceSpan.TraceSpanContext getBuildSpanContext()
-
getUpstreamSpanContext
public TraceSpan.TraceSpanContext getUpstreamSpanContext()
-
getBuildUrl
public String getBuildUrl()
-
setBuildUrl
public BuildSpanAction setBuildUrl(String buildUrl)
-
getAndIncrementVersion
public int getAndIncrementVersion()
-
-