public interface MuleEvent extends Serializable
MuleMessage| Modifier and Type | Method and Description |
|---|---|
<T> T |
getFlowVariable(String key)
Returns the flow variable registered under the given
kye |
String |
getId()
Every event in the system is assigned a universally unique id (UUID).
|
MuleMessage |
getMessage()
Returns the message payload for this event
|
void |
removeFlowVariable(String key)
Removes the flow variable registered under the given
key |
void |
setFlowVariable(String key,
Object value)
Sets a flow variable value with a default data type
|
void |
setFlowVariable(String key,
Object value,
DataType dataType)
Sets a flow variable value with a given data type
|
String getId()
<T> T getFlowVariable(String key)
kyeT - the value's generic typekey - the name or key of the variable. This must be non-null.void setFlowVariable(String key, Object value)
key - the name or key of the variable. This must be non-null.value - value for the variablevoid setFlowVariable(String key, Object value, DataType dataType)
key - the name or key of the variable. This must be non-null.value - value for the variabledataType - value's dataType. Not null.void removeFlowVariable(String key)
keykey - the name or key of the variable. This must be non-null.MuleMessage getMessage()
MuleMessageCopyright © 2016 MuleSoft, Inc.. All rights reserved.