public class WeaveExpressionLanguageMetadataService extends Object implements ExpressionLanguageMetadataService
ExpressionLanguageMetadataService.| Constructor and Description |
|---|
WeaveExpressionLanguageMetadataService(org.mule.runtime.api.metadata.ExpressionLanguageMetadataService muleExpressionLanguageMetadataService) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.model.MetadataType |
getOutputType(org.mule.metadata.api.model.MetadataType type,
String expression)
Given the
MetadataType and a DataWeave expression it will infer the resulting output type. |
org.mule.metadata.api.model.MetadataType |
getOutputType(org.mule.metadata.message.api.el.TypeBindings typeBindings,
String expression)
Given the
TypeBindings and a DataWeave expression it will infer the resulting output type. |
public WeaveExpressionLanguageMetadataService(org.mule.runtime.api.metadata.ExpressionLanguageMetadataService muleExpressionLanguageMetadataService)
public org.mule.metadata.api.model.MetadataType getOutputType(org.mule.metadata.api.model.MetadataType type,
String expression)
ExpressionLanguageMetadataServiceMetadataType and a DataWeave expression it will infer the resulting output type. The expression will be
invoked with a type binding by the name payload to access the type.getOutputType in interface ExpressionLanguageMetadataServicetype - the MetadataType.expression - an expression.public org.mule.metadata.api.model.MetadataType getOutputType(org.mule.metadata.message.api.el.TypeBindings typeBindings,
String expression)
ExpressionLanguageMetadataServiceTypeBindings and a DataWeave expression it will infer the resulting output type.getOutputType in interface ExpressionLanguageMetadataServicetypeBindings - the TypeBindings.expression - an expression.Copyright © 2022. All rights reserved.