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 StringCI_PROVIDERprotected static StringHOSTNAME_NONE
-
Constructor Summary
Constructors Constructor Description DatadogBasePipelineLogic()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringbuildOperationName(PipelineStepData current)protected StringgetNodeHostname(PipelineStepData current, BuildData buildData)protected Set<String>getNodeLabels(Run run, PipelineStepData current, String nodeName)protected StringgetNodeName(PipelineStepData current, BuildData buildData)abstract net.sf.json.JSONObjecttoJson(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:
IOExceptionInterruptedException
-
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)
-
-