public class EventContextEndSpanCommand extends AbstractFailsafeSpanVoidCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
static String |
THREAD_END_SPAN |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getErrorMessage() |
static EventContextEndSpanCommand |
getEventContextEndSpanCommandFrom(org.mule.runtime.api.event.EventContext eventContext,
Assertion assertion)
Return a
VoidCommand that ends the current span in the EventContext |
protected Runnable |
getRunnable() |
executepublic static final String ERROR_MESSAGE
public static final String THREAD_END_SPAN
public static EventContextEndSpanCommand getEventContextEndSpanCommandFrom(org.mule.runtime.api.event.EventContext eventContext, Assertion assertion)
VoidCommand that ends the current span in the EventContexteventContext - the EventContext.assertion - the Assertion to validate when ending the EventContext.EventContextEndSpanCommand.protected Runnable getRunnable()
getRunnable in class AbstractFailsafeSpanVoidCommandprotected String getErrorMessage()
getErrorMessage in class AbstractFailsafeSpanVoidCommandCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.