@NoImplement public interface InterceptionEvent extends Event
Modifier and Type | Method and Description |
---|---|
InterceptionEvent |
addVariable(String key,
Object value)
Add a variable.
|
InterceptionEvent |
addVariable(String key,
Object value,
DataType mediaType)
Add a variable.
|
BindingContext |
asBindingContext()
Creates a
BindingContext for the target event to use with a MuleExpressionLanguage . |
InterceptionEvent |
message(Message message)
Set the
Message to construct the target Event with. |
InterceptionEvent |
removeVariable(String key)
Remove a variable.
|
InterceptionEvent |
variables(Map<String,Object> variables)
Set a map of variables.
|
getAuthentication, getContext, getCorrelationId, getError, getItemSequenceInfo, getMessage, getVariables
InterceptionEvent message(Message message)
Message
to construct the target Event with.message
- the message instance.InterceptionEvent variables(Map<String,Object> variables)
variables
- variables to be set.InterceptionEvent addVariable(String key, Object value, DataType mediaType)
key
- the key of the variable to add.value
- the value of the variable to add. null
values are supported.mediaType
- additional metadata about the value
type.InterceptionEvent addVariable(String key, Object value)
key
- the key of the variable to add.value
- the value of the variable to add. null
values are supported.InterceptionEvent removeVariable(String key)
key
- the variable key.BindingContext asBindingContext()
BindingContext
for the target event to use with a MuleExpressionLanguage
.asBindingContext
in interface Event
BindingContext
representing the data of the target event.Copyright © 2018. All rights reserved.