K - the generic type of the objects to be used as MetadataKeyId representing a type structure@MinMuleVersion(value="4.5.0") public interface InputTypeResolver<K> extends NamedTypeResolver
MetadataType resolving for the Content parameter of an associated component.| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.model.MetadataType |
getInputMetadata(MetadataContext context,
K key)
Given an instance of type
K, resolves their MetadataType which represents the type structure. |
default String |
getResolverName()
This is the name of the TypeResolver.
|
getCategoryNamedefault String getResolverName()
InputTypeResolver and
OutputTypeResolver which are used together.getResolverName in interface NamedTypeResolverorg.mule.metadata.api.model.MetadataType getInputMetadata(MetadataContext context, K key) throws org.mule.runtime.api.metadata.MetadataResolvingException, org.mule.runtime.api.connection.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 parameterorg.mule.runtime.api.metadata.MetadataResolvingException - if an error occurs during the MetadataType building. See FailureCode for
possible MetadataResolvingException reasonsorg.mule.runtime.api.connection.ConnectionException - if an error occurs when using the connection provided by the MetadataContextCopyright © 2022. All rights reserved.