| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.ConfigurationInstance |
ConfigurationInstanceFactory.createConfiguration(String name,
Event event,
ValueResolver<org.mule.runtime.api.connection.ConnectionProvider> connectionProviderResolver)
Creates a new instance using the given
event to obtain the configuration's parameter values. |
| Modifier and Type | Method and Description |
|---|---|
ObjectBuilder<T> |
DefaultObjectBuilder.addPropertyResolver(String propertyName,
ValueResolver<? extends Object> resolver)
Adds a property which value is to be obtained from a
ValueResolver |
protected Object |
DefaultObjectBuilder.resolve(ValueResolver resolver,
ValueResolvingContext context) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConnectionProviderValueResolver<C>
Provides de capability to obtain (if there is any) the
ResolverSet used to resolve the event. |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionValueResolver<T>
A
ValueResolver that takes a list of ValueResolvers and upon invocation
of CollectionValueResolver.resolve(ValueResolvingContext) it return a Collection of values with the outcome
of each original resolver. |
class |
ConfigOverrideValueResolverWrapper<T>
A
ValueResolver wrapper which defaults to obtaining the value from the current ConfigurationInstance
if the given delegate results in a null value. |
class |
ConnectionProviderResolver<C>
A
ValueResolver specialization for producing ConnectionProvider instances through a
ConnectionProviderObjectBuilder |
class |
ExpressionBasedParameterResolverValueResolver<T>
ValueResolver implementation for ParameterResolver that are resolved from an expression |
class |
ExpressionTypedValueValueResolver<T>
A
ValueResolver implementation and extension of TypeSafeExpressionValueResolver which evaluates expressions
and tries to ensure that the output is always of a certain type. |
class |
ExpressionValueResolver<T>
A
ValueResolver which evaluates a MEL expressions |
class |
HashedResolverSet
ResolverSet implementation which uses HashedResolverSetResult to storage the resolved values. |
class |
ImplicitConnectionProviderValueResolver
Uses a
ImplicitConnectionProviderFactory to create an implicit ConnectionProvider. |
class |
MapValueResolver<K,V>
A
ValueResolver that takes a list of ValueResolvers and upon invocation of MapValueResolver.resolve(ValueResolvingContext) it return a
Map of values with the outcome of each original resolver. |
class |
NativeQueryParameterValueResolver
ValueResolver implementation which translates DsqlQuerys to queries in the Native Query Language. |
class |
NestedProcessorListValueResolver
|
class |
NestedProcessorValueResolver
|
class |
NullSafeValueResolverWrapper<T>
A
ValueResolver wrapper which generates and returns default instances if the NullSafeValueResolverWrapper.delegate returns null. |
class |
ObjectBuilderValueResolver<T>
A
ValueResolver which wraps an ObjectBuilder and calls ObjectBuilder.build(ValueResolvingContext) on each
ObjectBuilderValueResolver.resolve(ValueResolvingContext). |
class |
ParameterResolverValueResolverWrapper<T>
ValueResolver implementation for ParameterResolver that are not resolved from an
expression. |
class |
RegistryLookupValueResolver<T>
Implementation of
ValueResolver which accesses the mule registry and returns the value associated with RegistryLookupValueResolver.key. |
class |
ResolverSet
A
ValueResolver which is based on associating a set of keys -> ValueResolver pairs. |
class |
StaticConnectionProviderResolver<C>
An implementation of
ConnectionProviderValueResolver that wraps a StaticValueResolver |
class |
StaticLiteralValueResolver<T>
ValueResolver that produces instances of Literal |
class |
StaticValueResolver<T>
A
ValueResolver which always returns the same constant value. |
class |
TypedValueValueResolverWrapper<T>
ValueResolver implementation for TypedValue that are not resolved from an
expression. |
class |
TypeSafeExpressionValueResolver<T>
A
ValueResolver which evaluates expressions and tries to ensure that the output is always of a certain type. |
class |
TypeSafeValueResolverWrapper<T>
ValueResolver wrapper implementation which wraps another ValueResolver and ensures that the output is always of
a certain type. |
| Modifier and Type | Method and Description |
|---|---|
static ValueResolver<?> |
ResolverUtils.getExpressionBasedValueResolver(String expression,
org.mule.metadata.api.model.MetadataType metadataType,
MuleContext muleContext) |
static <T> ValueResolver<T> |
NullSafeValueResolverWrapper.of(ValueResolver<T> delegate,
org.mule.metadata.api.model.MetadataType type,
MuleContext muleContext,
ObjectTypeParametersResolver parametersResolver)
Creates a new instance
|
static <T> ValueResolver<T> |
ConfigOverrideValueResolverWrapper.of(ValueResolver<T> delegate,
String parameterName,
MuleContext muleContext)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
List<ValueResolver<K>> |
MapValueResolver.getKeyResolvers() |
Map<String,ValueResolver> |
ResolverSet.getResolvers() |
List<ValueResolver<V>> |
MapValueResolver.getValueResolvers() |
| Modifier and Type | Method and Description |
|---|---|
ResolverSet |
ResolverSet.add(String key,
ValueResolver resolver)
Links the given
ValueResolver to the given ParameterModel. |
static <T> ValueResolver<T> |
NullSafeValueResolverWrapper.of(ValueResolver<T> delegate,
org.mule.metadata.api.model.MetadataType type,
MuleContext muleContext,
ObjectTypeParametersResolver parametersResolver)
Creates a new instance
|
static <T> ValueResolver<T> |
ConfigOverrideValueResolverWrapper.of(ValueResolver<T> delegate,
String parameterName,
MuleContext muleContext)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
static <T> CollectionValueResolver<T> |
CollectionValueResolver.of(Class<? extends Collection> collectionType,
List<ValueResolver<T>> resolvers) |
static <K,V> MapValueResolver<K,V> |
MapValueResolver.of(Class<? extends Map> mapType,
List<ValueResolver<K>> keyResolvers,
List<ValueResolver<V>> valueResolvers,
MuleContext muleContext) |
static <K,V> MapValueResolver<K,V> |
MapValueResolver.of(Class<? extends Map> mapType,
List<ValueResolver<K>> keyResolvers,
List<ValueResolver<V>> valueResolvers,
MuleContext muleContext) |
| Constructor and Description |
|---|
ParameterResolverValueResolverWrapper(ValueResolver resolver) |
TypedValueValueResolverWrapper(ValueResolver resolver) |
TypeSafeValueResolverWrapper(ValueResolver valueResolverDelegate,
Class<T> expectedType) |
| Constructor and Description |
|---|
CollectionValueResolver(Class<? extends Collection> collectionType,
List<ValueResolver<T>> resolvers)
Creates a new instance
|
MapValueResolver(Class<? extends Map> mapType,
List<ValueResolver<K>> keyResolvers,
List<ValueResolver<V>> valueResolvers,
MuleContext muleContext)
Creates a new instance
|
MapValueResolver(Class<? extends Map> mapType,
List<ValueResolver<K>> keyResolvers,
List<ValueResolver<V>> valueResolvers,
MuleContext muleContext)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
MuleExtensionUtils.hasAnyDynamic(Iterable<ValueResolver<T>> resolvers)
|
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.