K - the generic type of the objects to be used as MetadataKeyId representing a type structurepublic 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 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 © 2017 MuleSoft, Inc.. All rights reserved.