T - the generic type of the resolved valuespublic class ConfigurationValueResolver<T> extends Object implements ValueResolver<T>
ConfigurationInstance obtained through a
ConfigurationProvider| Constructor and Description |
|---|
ConfigurationValueResolver(org.mule.runtime.extension.api.runtime.config.ConfigurationProvider configurationProvider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
Returns
false if subsequent invocations to ValueResolver.resolve(ValueResolvingContext) will return the same value. |
T |
resolve(ValueResolvingContext context)
Resolves a value from the given
event |
public ConfigurationValueResolver(org.mule.runtime.extension.api.runtime.config.ConfigurationProvider configurationProvider)
public T resolve(ValueResolvingContext context) throws org.mule.runtime.api.exception.MuleException
ValueResolvereventresolve in interface ValueResolver<T>context - the context for the current resolution attemptorg.mule.runtime.api.exception.MuleException - if the resolution of the value failspublic boolean isDynamic()
ValueResolverfalse if subsequent invocations to ValueResolver.resolve(ValueResolvingContext) 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<T>Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.