public final class TypedValueValueResolverWrapper<T> extends Object implements ValueResolver<org.mule.runtime.api.metadata.TypedValue<T>>
ValueResolver implementation for TypedValue that are not resolved from an
expression.
This TypedValueValueResolverWrapper delegates the resolution to the given ValueResolver from
the constructor.
TypedValue| Constructor and Description |
|---|
TypedValueValueResolverWrapper(ValueResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to ValueResolver.resolve(Event) will return the same value. |
org.mule.runtime.api.metadata.TypedValue<T> |
resolve(Event event)
|
public TypedValueValueResolverWrapper(ValueResolver resolver)
public org.mule.runtime.api.metadata.TypedValue<T> resolve(Event event) throws org.mule.runtime.api.exception.MuleException
resolve in interface ValueResolver<org.mule.runtime.api.metadata.TypedValue<T>>event - a Event to resolve the ValueResolverTypedValue of the resolved valueorg.mule.runtime.api.exception.MuleException - if it fails to resolve the valuepublic boolean isDynamic()
false if subsequent invocations to ValueResolver.resolve(Event) will return the same value. Notice that if it
returns true, then it might return different values per invocation but that's not guaranteed.isDynamic in interface ValueResolver<org.mule.runtime.api.metadata.TypedValue<T>>Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.