public final class ValueProviderMediator<T extends org.mule.runtime.api.meta.model.parameter.ParameterizedModel & org.mule.runtime.api.meta.model.EnrichableModel> extends Object
values by coordinating the several moving parts that are affected by the Value
fetching process, so that such pieces can remain decoupled.| Constructor and Description |
|---|
ValueProviderMediator(T containerModel,
Supplier<MuleContext> muleContext,
Supplier<ReflectionCache> reflectionCache)
Creates a new instance of the mediator
|
| Modifier and Type | Method and Description |
|---|---|
Set<org.mule.runtime.api.value.Value> |
getValues(String parameterName,
ParameterValueResolver parameterValueResolver)
Given the name of a parameter or parameter group, and if the parameter supports it, this will try to resolve the
values for the parameter. |
Set<org.mule.runtime.api.value.Value> |
getValues(String parameterName,
ParameterValueResolver parameterValueResolver,
String targetSelector,
Supplier<Object> connectionSupplier,
Supplier<Object> configurationSupplier)
Given the name of a parameter or parameter group and the target path of a field of the parameter, if the parameter supports
it, this will try to resolve the
values for the parameter's field. |
Set<org.mule.runtime.api.value.Value> |
getValues(String parameterName,
ParameterValueResolver parameterValueResolver,
String targetSelector,
Supplier<Object> connectionSupplier,
Supplier<Object> configurationSupplier,
org.mule.runtime.api.connection.ConnectionProvider connectionProvider)
Given the name of a parameter or parameter group and the target path of a field of the parameter, if the parameter supports
it, this will try to resolve the
values for the parameter's field. |
Set<org.mule.runtime.api.value.Value> |
getValues(String parameterName,
ParameterValueResolver parameterValueResolver,
Supplier<Object> connectionSupplier,
Supplier<Object> configurationSupplier)
Given the name of a parameter or parameter group, and if the parameter supports it, this will try to resolve the
values for the parameter. |
Set<org.mule.runtime.api.value.Value> |
getValues(String parameterName,
ParameterValueResolver parameterValueResolver,
Supplier<Object> connectionSupplier,
Supplier<Object> configurationSupplier,
org.mule.runtime.api.connection.ConnectionProvider connectionProvider)
Given the name of a parameter or parameter group, and if the parameter supports it, this will try to resolve the
values for the parameter. |
Set<org.mule.runtime.api.value.Value> |
getValues(String parameterName,
String targetSelector,
ParameterValueResolver parameterValueResolver)
Given the name of a parameter or parameter group and the target path of a field of the parameter, if the parameter supports
it, this will try to resolve the
values for the parameter's field. |
public ValueProviderMediator(T containerModel, Supplier<MuleContext> muleContext, Supplier<ReflectionCache> reflectionCache)
containerModel - container model which is a ParameterizedModel and EnrichableModelmuleContext - context to be able to initialize ValueProvider if necessarypublic Set<org.mule.runtime.api.value.Value> getValues(String parameterName, ParameterValueResolver parameterValueResolver) throws org.mule.runtime.extension.api.values.ValueResolvingException
values for the parameter.parameterName - the name of the parameter to resolve their possible valuesparameterValueResolver - parameter resolver required if the associated ValueProvider requires the value of
parameters from the same parameter container.Set of Value correspondent to the given parameterorg.mule.sdk.api.values.ValueResolvingException - if an error occurs resolving valuesorg.mule.runtime.extension.api.values.ValueResolvingExceptionpublic Set<org.mule.runtime.api.value.Value> getValues(String parameterName, String targetSelector, ParameterValueResolver parameterValueResolver) throws org.mule.runtime.extension.api.values.ValueResolvingException
values for the parameter's field.parameterName - the name of the parameter to resolve their possible valuesparameterValueResolver - parameter resolver required if the associated ValueProvider requires the value of
parameters from the same parameter container.targetSelector - the target path of the field of the parameter.Set of Value correspondent to the given parameterorg.mule.runtime.extension.api.values.ValueResolvingException - if an error occurs resolving valuespublic Set<org.mule.runtime.api.value.Value> getValues(String parameterName, ParameterValueResolver parameterValueResolver, Supplier<Object> connectionSupplier, Supplier<Object> configurationSupplier) throws org.mule.runtime.extension.api.values.ValueResolvingException
values for the parameter.parameterName - the name of the parameter to resolve their possible valuesparameterValueResolver - parameter resolver required if the associated ValueProvider requires the value of
parameters from the same parameter container.connectionSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderconfigurationSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderSet of Value correspondent to the given parameterorg.mule.runtime.extension.api.values.ValueResolvingException - if an error occurs resolving valuespublic Set<org.mule.runtime.api.value.Value> getValues(String parameterName, ParameterValueResolver parameterValueResolver, String targetSelector, Supplier<Object> connectionSupplier, Supplier<Object> configurationSupplier) throws org.mule.runtime.extension.api.values.ValueResolvingException
values for the parameter's field.parameterName - the name of the parameter to resolve their possible valuesparameterValueResolver - parameter resolver required if the associated ValueProvider requires the value of
parameters from the same parameter container.targetSelector - the target selector of the field of the parameter.connectionSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderconfigurationSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderSet of Value correspondent to the given parameterorg.mule.runtime.extension.api.values.ValueResolvingException - if an error occurs resolving valuespublic Set<org.mule.runtime.api.value.Value> getValues(String parameterName, ParameterValueResolver parameterValueResolver, Supplier<Object> connectionSupplier, Supplier<Object> configurationSupplier, org.mule.runtime.api.connection.ConnectionProvider connectionProvider) throws org.mule.runtime.extension.api.values.ValueResolvingException
values for the parameter.parameterName - the name of the parameter to resolve their possible valuesparameterValueResolver - parameter resolver required if the associated ValueProvider requires the value of
parameters from the same parameter container.connectionSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderconfigurationSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderconnectionProvider - the connection provider in charge of providing the connection given by the connection supplier.Set of Value correspondent to the given parameterorg.mule.runtime.extension.api.values.ValueResolvingException - if an error occurs resolving valuespublic Set<org.mule.runtime.api.value.Value> getValues(String parameterName, ParameterValueResolver parameterValueResolver, String targetSelector, Supplier<Object> connectionSupplier, Supplier<Object> configurationSupplier, org.mule.runtime.api.connection.ConnectionProvider connectionProvider) throws org.mule.runtime.extension.api.values.ValueResolvingException
values for the parameter's field.parameterName - the name of the parameter to resolve their possible valuesparameterValueResolver - parameter resolver required if the associated ValueProvider requires the value of
parameters from the same parameter container.targetSelector - the target selector of the field of the parameter.connectionSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderconfigurationSupplier - supplier of connection instances related to the container and used, if necessary, by the
ValueProviderconnectionProvider - the connection provider in charge of providing the connection given by the connection supplier.Set of Value correspondent to the given parameterorg.mule.runtime.extension.api.values.ValueResolvingException - if an error occurs resolving valuesCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.