Class FlowNodeTraceContext
- java.lang.Object
-
- io.jenkins.plugins.opentelemetry.job.log.RunTraceContext
-
- io.jenkins.plugins.opentelemetry.job.log.FlowNodeTraceContext
-
- All Implemented Interfaces:
Serializable
public class FlowNodeTraceContext extends RunTraceContext
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getFlowNodeId()
int
hashCode()
static FlowNodeTraceContext
newFlowNodeTraceContext(Run run, org.jenkinsci.plugins.workflow.graph.FlowNode flowNode, io.opentelemetry.api.trace.Span span)
io.opentelemetry.api.common.Attributes
toAttributes()
String
toString()
-
Methods inherited from class io.jenkins.plugins.opentelemetry.job.log.RunTraceContext
getContext, getJobFullName, getRunNumber, getSpanId, getTraceId, getW3cTraceContext
-
-
-
-
Method Detail
-
newFlowNodeTraceContext
public static FlowNodeTraceContext newFlowNodeTraceContext(@NonNull Run run, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode flowNode, @NonNull io.opentelemetry.api.trace.Span span)
-
getFlowNodeId
public String getFlowNodeId()
-
toString
public String toString()
- Overrides:
toString
in classRunTraceContext
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classRunTraceContext
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRunTraceContext
-
toAttributes
@Nonnull public io.opentelemetry.api.common.Attributes toAttributes()
- Overrides:
toAttributes
in classRunTraceContext
-
-