Package | Description |
---|---|
org.mule.runtime.api.el | |
org.mule.runtime.api.event | |
org.mule.runtime.api.interception | |
org.mule.runtime.api.metadata | |
org.mule.runtime.core.api.el |
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 . |
static BindingContext.Builder |
BindingContextUtils.addEventBuindingsToBuilder(Event event,
BindingContext baseContext)
Creates a new
BindingContext.Builder 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. |
TypedValue<?> |
ExpressionLanguage.evaluateLogExpression(String expression,
BindingContext context)
Evaluates an expression according to a given
BindingContext and the global one. |
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. |
Modifier and Type | Method and Description |
---|---|
protected BindingContext.Builder |
DefaultBindingContextBuilderFactory.create(BindingContext bindingContext) |
TypedValue |
ExpressionManager.evaluate(String expression,
CoreEvent event,
BindingContext context)
Execute the expression returning the result.
|
TypedValue |
ExpressionManager.evaluate(String expression,
CoreEvent event,
ComponentLocation componentLocation,
BindingContext context)
Execute the expression returning the result.
|
TypedValue |
ExpressionManager.evaluate(String expression,
DataType expectedOutputType,
BindingContext context,
CoreEvent event)
Evaluates an expression according to a given
BindingContext , the global one, the DataType of the expected
result and an CoreEvent . |
TypedValue |
ExpressionManager.evaluate(String expression,
DataType expectedOutputType,
BindingContext context,
CoreEvent event,
ComponentLocation componentLocation,
boolean failOnNull)
Evaluates an expression according to a given
BindingContext , the global one, the DataType of the expected
result and an CoreEvent . |
String |
ExpressionManager.parseLogTemplate(String template,
CoreEvent event,
ComponentLocation componentLocation,
BindingContext bindingContext)
Parses a logging expression template by iterating through each expression and evaluating it.
|
Iterator<TypedValue<?>> |
ExpressionManager.split(String expression,
CoreEvent event,
BindingContext bindingContext)
Evaluates an expression according to a given
BindingContext , an CoreEvent . |
Iterator<TypedValue<?>> |
ExpressionManager.split(String expression,
CoreEvent event,
ComponentLocation componentLocation,
BindingContext bindingContext)
Evaluates an expression according to a given
BindingContext , an CoreEvent and a flowName. |
Copyright © 2018. All rights reserved.