M - the generic type of of the model which represents the component beign executedpublic interface ExecutionContext<M extends org.mule.runtime.api.meta.model.ComponentModel>
| Modifier and Type | Method and Description |
|---|---|
M |
getComponentModel() |
Optional<ConfigurationInstance> |
getConfiguration()
Returns the
ConfigurationInstance for the operation being executed. |
org.mule.runtime.api.meta.model.ExtensionModel |
getExtensionModel() |
<T> T |
getParameter(String parameterName)
Returns the value associated to a parameter of name
parameterName |
boolean |
hasParameter(String parameterName)
Returns whether parameter of name
parameterName has a value associated to it. |
boolean hasParameter(String parameterName)
parameterName has a value associated to it.parameterName - the name of a ParameterModel of the ComponentModel being executedtrue if the parameter is present.<T> T getParameter(String parameterName)
parameterNameT - the returned value's generic typeparameterName - the name of a ParameterModel of the ComponentModel being executednull. Notice that null means that the parameter has been
resolved to that value.NoSuchElementException - if the parameter is not present.Optional<ConfigurationInstance> getConfiguration()
ConfigurationInstance for the operation being executed.ConfigurationInstance consistent with a corresponding ConfigurationModelorg.mule.runtime.api.meta.model.ExtensionModel getExtensionModel()
ExtensionModel which owns the getComponentModel()M getComponentModel()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.