Class DatadogBasePipelineLogic
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.traces.DatadogBasePipelineLogic
-
- Direct Known Subclasses:
DatadogTracePipelineLogic
,DatadogWebhookPipelineLogic
public abstract class DatadogBasePipelineLogic extends Object
Base class with shared code for DatadogTracePipelineLogic and DatadogWebhookPipelineLogic
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CI_PROVIDER
protected static String
HOSTNAME_NONE
-
Constructor Summary
Constructors Constructor Description DatadogBasePipelineLogic()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
buildOperationName(PipelineStepData current)
protected String
getNodeHostname(PipelineStepData current, BuildData buildData)
protected Set<String>
getNodeLabels(Run run, PipelineStepData current, String nodeName)
protected String
getNodeName(PipelineStepData current, BuildData buildData)
abstract net.sf.json.JSONObject
toJson(PipelineStepData current, Run<?,?> run)
-
-
-
Field Detail
-
CI_PROVIDER
protected static final String CI_PROVIDER
- See Also:
- Constant Field Values
-
HOSTNAME_NONE
protected static final String HOSTNAME_NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
toJson
public abstract net.sf.json.JSONObject toJson(PipelineStepData current, Run<?,?> run) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getNodeLabels
protected Set<String> getNodeLabels(Run run, PipelineStepData current, String nodeName)
-
getNodeName
protected String getNodeName(PipelineStepData current, BuildData buildData)
-
getNodeHostname
protected String getNodeHostname(PipelineStepData current, BuildData buildData)
-
buildOperationName
protected String buildOperationName(PipelineStepData current)
-
-