K - the generic type of the objects to be used as MetadataKeyId representing a type structurepublic interface OutputTypeResolver<K> extends NamedTypeResolver
MetadataType resolving for the output of an associated component.| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.model.MetadataType |
getOutputType(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 getOutputType(MetadataContext context, K key) throws MetadataResolvingException, ConnectionException
K, resolves their MetadataType, which represents the type structure. This
MetadataType will be considered as the output or result of the Componentcontext - MetadataContext of the MetaData resolutionkey - K representing the type which's structure has to be resolvedMetadataType from the given MetadataResolvingException - 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.