public final class ExpressionFunctionValueResolver<T> extends Object implements ValueResolver<Function<Event,T>>
ValueResolver which evaluates an ExpressionFunction for later resolution of a MEL expression.| Constructor and Description |
|---|
ExpressionFunctionValueResolver(String exp,
org.mule.metadata.api.model.MetadataType metadataType,
MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to ValueResolver.resolve(Event) will return the same value. |
Function<Event,T> |
resolve(Event event)
Resolves a value from the given
event |
public ExpressionFunctionValueResolver(String exp, org.mule.metadata.api.model.MetadataType metadataType, MuleContext muleContext)
public Function<Event,T> resolve(Event event) throws org.mule.runtime.api.exception.MuleException
ValueResolvereventpublic boolean isDynamic()
ValueResolverfalse 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<Function<Event,T>>Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.