| Package | Description |
|---|---|
| org.mule.runtime.api.message | |
| org.mule.runtime.api.metadata |
| Modifier and Type | Method and Description |
|---|---|
DataType |
MuleMessage.getDataType()
Returns the data type (if any) associated with the message's payload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MuleEvent.setFlowVariable(String key,
Object value,
DataType dataType)
Sets a flow variable value with a given data type
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CollectionDataType
A data type that represents a generified collection.
|
| Modifier and Type | Field and Description |
|---|---|
static DataType |
DataType.ATOM_STRING |
static DataType |
DataType.BOOLEAN |
static DataType |
DataType.BYTE_ARRAY |
static DataType |
DataType.HTML_STRING |
static DataType |
DataType.INPUT_STREAM |
static DataType |
DataType.JSON_STRING |
static DataType |
DataType.MULE_MESSAGE |
static DataType |
DataType.NUMBER |
static DataType |
DataType.OBJECT |
static DataType |
DataType.RSS_STRING |
static DataType |
DataType.STRING |
static DataType |
DataType.TEXT_STRING |
static DataType |
DataType.XML_STRING |
| Modifier and Type | Method and Description |
|---|---|
DataType |
DataTypeParamsBuilder.build()
Builds a new
DataType with the values set in this builder. |
static DataType |
DataType.fromObject(Object value)
Shortcut to create the
DataType from an Object instance. |
static DataType |
DataType.fromType(Class<?> type)
Shortcut to create a
DataType using just a Java type. |
DataType |
CollectionDataType.getItemDataType()
Obtains the
DataType of the items in the collection. |
| Modifier and Type | Method and Description |
|---|---|
static DataTypeBuilder |
DataType.builder(DataType dataType)
|
protected abstract DataTypeBuilder |
AbstractDataTypeBuilderFactory.create(DataType dataType) |
boolean |
DataType.isCompatibleWith(DataType dataType)
Used to determine if this data type is compatible with the data type passed in.
|
Copyright © 2016 MuleSoft, Inc.. All rights reserved.