public class ValueProviderUtils extends Object
ValueProvider related objects| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.extension.api.values.ValueBuilder |
cloneAndEnrichValue(org.mule.runtime.api.value.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters) |
static org.mule.sdk.api.values.ValueBuilder |
cloneAndEnrichValue(org.mule.sdk.api.values.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters) |
static org.mule.sdk.api.values.ValueBuilder |
cloneAndEnrichValue(org.mule.sdk.api.values.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters,
String providerId) |
static org.mule.sdk.api.values.ValueBuilder |
cloneAndEnrichValue(org.mule.sdk.api.values.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters,
String providerId,
String targetSelector) |
static String |
getParameterNameFromExtractionExpression(String extractionExpression)
Retrieves the name of the parameter an extraction expression is referring to
|
static String |
getValueProviderId(Class valueProviderClazz)
Creates an instance of the given
ValueProvider class and retrieves its id. |
static List<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> |
getValueProviderModels(List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameterModels)
Given a list of
ParameterModel retrieves all the parameters that have an associated ValueProviderModel |
static Set<org.mule.runtime.api.value.Value> |
valuesWithClassLoader(Callable<Set<org.mule.runtime.api.value.Value>> valueResolver,
org.mule.runtime.api.meta.model.ExtensionModel extensionModel)
Executes the
ValueProvider logic with the required extension related classloader |
public static org.mule.runtime.extension.api.values.ValueBuilder cloneAndEnrichValue(org.mule.runtime.api.value.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters)
public static org.mule.sdk.api.values.ValueBuilder cloneAndEnrichValue(org.mule.sdk.api.values.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters)
public static org.mule.sdk.api.values.ValueBuilder cloneAndEnrichValue(org.mule.sdk.api.values.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters,
String providerId)
public static org.mule.sdk.api.values.ValueBuilder cloneAndEnrichValue(org.mule.sdk.api.values.Value value,
List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameters,
String providerId,
String targetSelector)
public static List<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> getValueProviderModels(List<org.mule.runtime.api.meta.model.parameter.ParameterModel> parameterModels)
ParameterModel retrieves all the parameters that have an associated ValueProviderModelparameterModels - Parameters to introspectList of ParameterModel that have an associated ValueProviderModelpublic static Set<org.mule.runtime.api.value.Value> valuesWithClassLoader(Callable<Set<org.mule.runtime.api.value.Value>> valueResolver, org.mule.runtime.api.meta.model.ExtensionModel extensionModel) throws org.mule.runtime.extension.api.values.ValueResolvingException
ValueProvider logic with the required extension related classloaderpublic static String getValueProviderId(Class valueProviderClazz)
ValueProvider class and retrieves its id.valueProviderClazz - a class that implements the ValueProvider interface.public static String getParameterNameFromExtractionExpression(String extractionExpression)
extractionExpression - an expression of a binding defined in an
ActingParameterModelCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.