public interface ExtendedExpressionLanguageAdaptor extends ExpressionLanguageAdaptor
ExpressionLanguageAdaptor supporting mutating operations and the propagation of more variables.
Only meant to distinguish the Mule 3 inherited behaviour from the current approach.| Modifier and Type | Method and Description |
|---|---|
void |
enrich(String expression,
Event event,
Event.Builder eventBuilder,
FlowConstruct flowConstruct,
Object object)
Deprecated.
Mutation via expressions is deprecated.
|
void |
enrich(String expression,
Event event,
Event.Builder eventBuilder,
FlowConstruct flowConstruct,
org.mule.runtime.api.metadata.TypedValue value)
Deprecated.
Mutation via expressions is deprecated.
|
org.mule.runtime.api.metadata.TypedValue |
evaluate(String expression,
Event event,
Event.Builder eventBuilder,
FlowConstruct flowConstruct,
org.mule.runtime.api.el.BindingContext bindingContext)
Deprecated.
Mutation via expressions is deprecated.
|
addGlobalBindings, evaluate, evaluate, evaluate, evaluate, split, split, validate@Deprecated org.mule.runtime.api.metadata.TypedValue evaluate(String expression, Event event, Event.Builder eventBuilder, FlowConstruct flowConstruct, org.mule.runtime.api.el.BindingContext bindingContext) throws ExpressionRuntimeException
evaluate allows Event or InternalMessage mutation performed
within the expression to be maintained post-evaluation via the use of a result
Event.Builder which should be created from the original event before being passed and then
used to construct the post-evaluation event.expression - the expression to be executedevent - the current event being processedeventBuilder - event builder instance used to mutate the current message or event.flowConstruct - the flow where the event is being processedbindingContext - the bindings to considerExpressionRuntimeException - if a problem occurs evaluating the expression@Deprecated void enrich(String expression, Event event, Event.Builder eventBuilder, FlowConstruct flowConstruct, Object object)
enrich allows Event or InternalMessage mutation performed
within the expression to be maintained post-evaluation via the use of a result
Event.Builder which should be created from the original event before being passed and then
used to construct the post-evaluation event.expression - a single expression i.e. header://foo that defines how the message should be enrichedevent - The event to be enrichedeventBuilder - event builder instance used to mutate the current message or event.flowConstruct - the flow where the event is being processedobject - The object used for enrichment@Deprecated void enrich(String expression, Event event, Event.Builder eventBuilder, FlowConstruct flowConstruct, org.mule.runtime.api.metadata.TypedValue value)
enrich allows Event or InternalMessage mutation performed
within the expression to be maintained post-evaluation via the use of a result
Event.Builder which should be created from the original event before being passed and then
used to construct the post-evaluation event.expression - a single expression i.e. header://foo that defines how the message should be enrichedevent - The event to be enrichedeventBuilder - event builder instance used to mutate the current message or event.flowConstruct - the flow where the event is being processedvalue - The typed value used for enrichmentCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.