public abstract class AbstractExecutionContextAdapterDecorator<M extends org.mule.runtime.api.meta.model.ComponentModel> extends Object implements ExecutionContextAdapter<M>
ExecutionContextAdapters.| Constructor and Description |
|---|
AbstractExecutionContextAdapterDecorator(ExecutionContextAdapter<M> decorated) |
| Modifier and Type | Method and Description |
|---|---|
M |
getComponentModel() |
Optional<org.mule.runtime.extension.api.runtime.ConfigurationInstance> |
getConfiguration() |
CursorProviderFactory |
getCursorProviderFactory() |
Event |
getEvent()
Returns the
Event on which an operation is to be executed |
org.mule.runtime.api.meta.model.ExtensionModel |
getExtensionModel() |
MuleContext |
getMuleContext() |
<T> T |
getParameter(String arg0) |
StreamingManager |
getStreamingManager() |
Optional<TransactionConfig> |
getTransactionConfig() |
<T> T |
getVariable(String key)
Returns the value associated with the
key |
boolean |
hasParameter(String arg0) |
<T> T |
removeVariable(String key)
Removes the variable value associated with
key. |
Object |
setVariable(String key,
Object value)
Sets a variable of the given
key and value. |
public AbstractExecutionContextAdapterDecorator(ExecutionContextAdapter<M> decorated)
public Event getEvent()
EventedExecutionContextEvent on which an operation is to be executedgetEvent in interface EventedExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>public M getComponentModel()
getComponentModel in interface org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>public Optional<org.mule.runtime.extension.api.runtime.ConfigurationInstance> getConfiguration()
getConfiguration in interface org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>public org.mule.runtime.api.meta.model.ExtensionModel getExtensionModel()
getExtensionModel in interface org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>public <T> T getParameter(String arg0)
getParameter in interface org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>public boolean hasParameter(String arg0)
hasParameter in interface org.mule.runtime.extension.api.runtime.operation.ExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>public <T> T getVariable(String key)
ExecutionContextAdapterkeygetVariable in interface ExecutionContextAdapter<M extends org.mule.runtime.api.meta.model.ComponentModel>T - the generic type for the valuekey - the variable's keykey or null if no such variable was registered.public Object setVariable(String key, Object value)
ExecutionContextAdapterkey and value.setVariable in interface ExecutionContextAdapter<M extends org.mule.runtime.api.meta.model.ComponentModel>key - the variable's key. Cannot be nullvalue - the associated value. Cannot be nullkey or null if no such association existed.public <T> T removeVariable(String key)
ExecutionContextAdapterkey.removeVariable in interface ExecutionContextAdapter<M extends org.mule.runtime.api.meta.model.ComponentModel>T - the generic type for the removed valuekey - the variable's key. Cannot be nullkey or null if no such association existedpublic Optional<TransactionConfig> getTransactionConfig()
getTransactionConfig in interface ExecutionContextAdapter<M extends org.mule.runtime.api.meta.model.ComponentModel>Optional TransactionConfig if the operation is transactionalpublic MuleContext getMuleContext()
getMuleContext in interface ExecutionContextAdapter<M extends org.mule.runtime.api.meta.model.ComponentModel>MuleContext on which the operation is being executedpublic CursorProviderFactory getCursorProviderFactory()
getCursorProviderFactory in interface ExecutionContextAdapter<M extends org.mule.runtime.api.meta.model.ComponentModel>CursorProviderFactory configured on the executing componentpublic StreamingManager getStreamingManager()
getStreamingManager in interface ExecutionContextAdapter<M extends org.mule.runtime.api.meta.model.ComponentModel>StreamingManagerCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.