public class EventContextSetCurrentSpanNameCommand extends AbstractFailsafeSpanVoidCommand
VoidCommand that sets the current span name.
The carrier is the EventContext| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
| Constructor and Description |
|---|
EventContextSetCurrentSpanNameCommand(org.mule.runtime.api.event.EventContext eventContext,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getErrorMessage() |
static VoidCommand |
getEventContextSetCurrentSpanNameCommand(org.mule.runtime.api.event.EventContext eventContext,
String name) |
protected Runnable |
getRunnable() |
executepublic static final String ERROR_MESSAGE
public EventContextSetCurrentSpanNameCommand(org.mule.runtime.api.event.EventContext eventContext,
String name)
public static VoidCommand getEventContextSetCurrentSpanNameCommand(org.mule.runtime.api.event.EventContext eventContext, String name)
protected Runnable getRunnable()
getRunnable in class AbstractFailsafeSpanVoidCommandprotected String getErrorMessage()
getErrorMessage in class AbstractFailsafeSpanVoidCommandCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.