| Package | Description |
|---|---|
| org.mule.runtime.api.el | |
| org.mule.runtime.api.event | |
| org.mule.runtime.api.interception | |
| org.mule.runtime.api.metadata |
| Modifier and Type | Field and Description |
|---|---|
static BindingContext |
BindingContextUtils.NULL_BINDING_CONTEXT |
| Modifier and Type | Method and Description |
|---|---|
static BindingContext |
BindingContextUtils.addEventBindings(Event event,
BindingContext baseContext)
Creates a new
BindingContext that contains the bindings from baseContext and the bindings that belong to the
given event. |
BindingContext |
BindingContext.Builder.build() |
static BindingContext |
BindingContextUtils.getTargetBindingContext(Message message)
Creates a new
BindingContext that only contains the restricted bindings to be used for evaluating the target expression. |
| Modifier and Type | Method and Description |
|---|---|
BindingContext.Builder |
BindingContext.Builder.addAll(BindingContext context)
Will include all bindings in the given
BindingContext. |
static BindingContext |
BindingContextUtils.addEventBindings(Event event,
BindingContext baseContext)
Creates a new
BindingContext that contains the bindings from baseContext and the bindings that belong to the
given event. |
void |
ExpressionLanguage.addGlobalBindings(BindingContext bindingContext)
Includes the bindings in a given
BindingContext as global ones, that should not change often and should be considered
for all subsequent operations. |
static BindingContext.Builder |
BindingContext.builder(BindingContext context)
Provides a builder to create
BindingContext objects, based on an already existing one. |
Object |
ExpressionFunction.call(Object[] parameters,
BindingContext context)
Function logic to be executed.
|
protected abstract BindingContext.Builder |
AbstractBindingContextBuilderFactory.create(BindingContext bindingContext) |
TypedValue<?> |
ExpressionLanguage.evaluate(String expression,
BindingContext context)
Evaluates an expression according to a given
BindingContext and the global one. |
TypedValue<?> |
ExpressionLanguage.evaluate(String expression,
DataType expectedOutputType,
BindingContext context)
Evaluates an expression according to a given
BindingContext, the global one and the DataType of the expected
result. |
Iterator<TypedValue<?>> |
ExpressionLanguage.split(String expression,
BindingContext context)
Splits using the specified expression.
|
| Modifier and Type | Method and Description |
|---|---|
BindingContext |
Event.asBindingContext()
Creates a
BindingContext from the event. |
| Modifier and Type | Method and Description |
|---|---|
BindingContext |
InterceptionEvent.asBindingContext()
Creates a
BindingContext for the target event to use with a MuleExpressionLanguage. |
| Modifier and Type | Method and Description |
|---|---|
Object |
FunctionParameter.DefaultValueResolver.getDefaultValue(BindingContext context)
Returns the default value for a
FunctionParameter given the current BindingContext, allowing to reference
variables as defaults. |
Copyright © 2017 MuleSoft, Inc.. All rights reserved.