Class NullSpan
java.lang.Object
org.openqa.selenium.remote.tracing.empty.NullContext
org.openqa.selenium.remote.tracing.empty.NullSpan
- All Implemented Interfaces:
AutoCloseable
,Span
,TraceContext
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEvent
(String name, Map<String, EventAttributeValue> attributeMap) void
close()
setAttribute
(String key, boolean value) setAttribute
(String key, Number value) setAttribute
(String key, String value) Methods inherited from class org.openqa.selenium.remote.tracing.empty.NullContext
createSpan, getId, wrap, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openqa.selenium.remote.tracing.TraceContext
createSpan, getId, wrap, wrap
-
Constructor Details
-
NullSpan
public NullSpan()
-
-
Method Details
-
setName
-
setAttribute
- Specified by:
setAttribute
in interfaceSpan
-
setAttribute
- Specified by:
setAttribute
in interfaceSpan
-
setAttribute
- Specified by:
setAttribute
in interfaceSpan
-
addEvent
-
addEvent
-
setStatus
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSpan
-