K - the generic type of the objects to be used as MetadataKeyId representing a type structurepublic interface MetadataContentResolver<K>
MetadataType resolving for the Content parameter of an associated component.| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.model.MetadataType |
getContentMetadata(MetadataContext context,
K key)
Given an instance of type
K, resolves their MetadataType which
represents the type structure. |
org.mule.metadata.api.model.MetadataType getContentMetadata(MetadataContext context, K key) throws MetadataResolvingException, ConnectionException
K, resolves their MetadataType which
represents the type structure.
This MetadataType will be considered as the main input of an Operation
for their parameter marked as Content.context - MetaDataContext of the MetaData resolutionkey - K representing the type which's structure has to be resolvedMetadataType of the Content parameterMetadataResolvingException - if an error occurs during the MetadataType building. See
FailureCode for possible MetadataResolvingException reasonsConnectionException - if an error occurs when using the connection provided by the MetadataContextCopyright © 2016 MuleSoft, Inc.. All rights reserved.