| Modifier and Type | Method and Description |
|---|---|
ValueResolver |
StackableTypesValueResolverFactory.getExpressionBasedValueResolver(String expression,
Class expectedType)
Given a expression value, the expected type and the stack of
wrapper types, iterates it and
creates all the required ValueResolver and stacks them is necessary. |
ValueResolver<T> |
StackableType.StaticResolverFactory.getResolver(Object value) |
ValueResolver<T> |
StackableType.ExpressionBasedResolverFactory.getResolver(String value,
Class<T> expectedType) |
ValueResolver<T> |
StackableType.DelegateResolverFactory.getResolver(ValueResolver delegate) |
ValueResolver |
StackableTypesValueResolverFactory.getStaticValueResolver(Object value)
Given a static value and the stack of
wrapper types, iterates it and creates all the required
ValueResolver and stacks them is necessary. |
ValueResolver |
StackableTypesValueResolverFactory.getWrapperValueResolver(ValueResolver resolverDelegate)
Given a static value and the stack of
wrapper types, iterates it and creates all the required
ValueResolver and stacks them is necessary. |
| Modifier and Type | Method and Description |
|---|---|
Optional<ValueResolver> |
StackableTypesValueResolverFactory.getStaticValueResolver(Object value,
Class clazz)
Given a static value, the stack of
stacked types and the desired class for the static resolver, if
the class is not found as the root of the parameter type, an Optional.empty() will be returned. |
| Modifier and Type | Method and Description |
|---|---|
ValueResolver<T> |
StackableType.DelegateResolverFactory.getResolver(ValueResolver delegate) |
ValueResolver |
StackableTypesValueResolverFactory.getWrapperValueResolver(ValueResolver resolverDelegate)
Given a static value and the stack of
wrapper types, iterates it and creates all the required
ValueResolver and stacks them is necessary. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,ValueResolver> |
AbstractExtensionsClientProcessorsStrategy.resolveParameters(Map<String,Object> parameters,
CoreEvent event) |
| Modifier and Type | Method and Description |
|---|---|
protected OperationMessageProcessor |
AbstractExtensionsClientProcessorsStrategy.createProcessor(String extensionName,
String operationName,
Optional<String> configName,
Map<String,ValueResolver> parameters) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ValueResolver<? extends Object>> |
DefaultObjectBuilder.resolverByFieldName |
protected Map<FieldSetter,ValueResolver<Object>> |
DefaultObjectBuilder.resolvers |
| Modifier and Type | Method and Description |
|---|---|
ObjectBuilder<T> |
ExclusiveParameterGroupObjectBuilder.addPropertyResolver(Field field,
ValueResolver<? extends Object> resolver) |
ObjectBuilder<T> |
DefaultObjectBuilder.addPropertyResolver(Field field,
ValueResolver<? extends Object> resolver)
Adds a property which value is to be obtained from a
ValueResolver |
ObjectBuilder<T> |
ExclusiveParameterGroupObjectBuilder.addPropertyResolver(String propertyName,
ValueResolver<? extends Object> resolver) |
ObjectBuilder<T> |
DefaultObjectBuilder.addPropertyResolver(String propertyName,
ValueResolver<? extends Object> resolver)
Adds a property which value is to be obtained from a
ValueResolver |
| 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. |
interface |
ExpressionBasedValueResolver<T>
ValueResolver interface for expression based ValueResolver, in addition to be able to resolve
a value, implementations of this ValueResolver also can communicate the used expression. |
| 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 |
ConfigurationValueResolver<T>
A value resolver which returns the values of a
ConfigurationInstance obtained through a
ConfigurationProvider |
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<C>
Uses a
ImplicitConnectionProviderFactory to create an implicit ConnectionProvider. |
class |
LifecycleAwareValueResolverWrapper<T>
Base class for
ValueResolver wrappers. |
class |
LifecycleInitialiserValueResolverWrapper<T>
Implementation of
LifecycleAwareValueResolverWrapper which depending on the lifecycle state
of the muleContext, applies the Initialise and Start phases on the returned objects. |
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 |
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>
|
class |
ProcessorChainValueResolver
An
ValueResolver which wraps the given Processor in a Chain,
using the event of the current ValueResolvingContext. |
class |
RegistryLookupValueResolver<T>
Implementation of
ValueResolver which accesses the mule registry and returns the value associated with RegistryLookupValueResolver.key. |
class |
RequiredParameterValueResolverWrapper<T>
An
LifecycleAwareValueResolverWrapper which throws an IllegalArgumentException if the resolved
value is null. |
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 | Field and Description |
|---|---|
protected ValueResolver<T> |
LifecycleAwareValueResolverWrapper.delegate |
| 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,
ReflectionCache reflectionCache,
MuleContext muleContext,
ObjectTypeParametersResolver parametersResolver)
Creates a new instance
|
static <T> ValueResolver<T> |
ConfigOverrideValueResolverWrapper.of(ValueResolver<T> delegate,
String parameterName,
ReflectionCache reflectionCache,
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 identifying key. |
static <T> ValueResolver<T> |
NullSafeValueResolverWrapper.of(ValueResolver<T> delegate,
org.mule.metadata.api.model.MetadataType type,
ReflectionCache reflectionCache,
MuleContext muleContext,
ObjectTypeParametersResolver parametersResolver)
Creates a new instance
|
static <T> ValueResolver<T> |
ConfigOverrideValueResolverWrapper.of(ValueResolver<T> delegate,
String parameterName,
ReflectionCache reflectionCache,
MuleContext muleContext)
Creates a new instance
|
static <T> T |
ResolverUtils.resolveRecursively(ValueResolver<T> valueResolver,
ValueResolvingContext resolvingContext) |
static <T> T |
ResolverUtils.resolveValue(ValueResolver<T> resolver,
ValueResolvingContext context)
Executes the
resolver using the given context,
applying all the required resolution rules that may apply for
the given T type. |
| Modifier and Type | Method and Description |
|---|---|
ResolverSet |
ResolverSet.addAll(Map<String,ValueResolver<?>> resolvers)
Links all the given
ValueResolvers to the given identifying key. |
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,
ReflectionCache reflectionCache,
MuleContext muleContext) |
static <K,V> MapValueResolver<K,V> |
MapValueResolver.of(Class<? extends Map> mapType,
List<ValueResolver<K>> keyResolvers,
List<ValueResolver<V>> valueResolvers,
ReflectionCache reflectionCache,
MuleContext muleContext) |
| Constructor and Description |
|---|
LifecycleAwareValueResolverWrapper(ValueResolver<T> delegate) |
LifecycleInitialiserValueResolverWrapper(ValueResolver<T> delegate,
MuleContext muleContext)
Creates a new instance
|
NativeQueryParameterValueResolver(ValueResolver<String> queryResolver,
Class<? extends org.mule.runtime.extension.api.dsql.QueryTranslator> translator) |
ParameterResolverValueResolverWrapper(ValueResolver resolver) |
RequiredParameterValueResolverWrapper(ValueResolver<T> delegate,
String parameterName)
Creates a new instance
|
RequiredParameterValueResolverWrapper(ValueResolver<T> delegate,
String parameterName,
String literalValue)
Creates a new instance
|
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,
ReflectionCache reflectionCache,
MuleContext muleContext)
Creates a new instance
|
MapValueResolver(Class<? extends Map> mapType,
List<ValueResolver<K>> keyResolvers,
List<ValueResolver<V>> valueResolvers,
ReflectionCache reflectionCache,
MuleContext muleContext)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
MuleExtensionUtils.hasAnyDynamic(Iterable<ValueResolver<T>> resolvers)
|
Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.