public class EventContextStartSpanCommand extends AbstractFailsafeSpanInternalSpanCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getErrorMessage() |
static EventContextStartSpanCommand |
getEventContextStartSpanCommandFrom(org.mule.runtime.api.event.EventContext eventContext,
EventSpanFactory eventSpanFactory,
InitialSpanInfo initialSpanInfo,
Assertion assertion) |
protected Supplier<Optional<InternalSpan>> |
getSupplier() |
executepublic static final String ERROR_MESSAGE
public static EventContextStartSpanCommand getEventContextStartSpanCommandFrom(org.mule.runtime.api.event.EventContext eventContext, EventSpanFactory eventSpanFactory, InitialSpanInfo initialSpanInfo, Assertion assertion)
eventContext - the EventContext.xseventSpanFactory - the EventSpanFactory to create the span.initialSpanInfo - the InitialSpanInfo to indicate how the InternalSpan should be created.assertion - the Assertion to validate when starting the EventContext.protected Supplier<Optional<InternalSpan>> getSupplier()
getSupplier in class AbstractFailsafeSpanInternalSpanCommandInternalSpanprotected String getErrorMessage()
getErrorMessage in class AbstractFailsafeSpanInternalSpanCommandCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.