public final class EventArgumentResolver extends Object implements ArgumentResolver<Event>
ArgumentResolver which returns the Event associated with a given ExecutionContext.
Notice that for this to work, the ExecutionContext has to be an instance of ExecutionContextAdapter| Constructor and Description |
|---|
EventArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
Event |
resolve(org.mule.runtime.extension.api.runtime.operation.ExecutionContext executionContext)
Returns the
Event associated to the operationContext |
public Event resolve(org.mule.runtime.extension.api.runtime.operation.ExecutionContext executionContext)
Event associated to the operationContextresolve in interface ArgumentResolver<Event>executionContext - an ExecutionContextClassCastException - if operationContext is not an ExecutionContextAdapterCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.