- All Superinterfaces:
NamedTypeResolver
- All Known Subinterfaces:
PartialTypeKeysResolver<T>
- All Known Implementing Classes:
NullMetadataResolver
Handles the dynamic resolution of the available
MetadataKey that can be used to populate the MetadataKeyId of an
associated Component- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys(MetadataContext context) default StringThis is the name of the TypeResolver.Methods inherited from interface org.mule.sdk.api.metadata.resolving.NamedTypeResolver
getCategoryName
-
Method Details
-
getKeys
Set<MetadataKey> getKeys(MetadataContext context) throws org.mule.runtime.api.metadata.MetadataResolvingException, org.mule.runtime.api.connection.ConnectionException - Parameters:
context-MetadataContextof the Metadata resolution- Returns:
- A set of
MetadataKeyof the available types - Throws:
org.mule.runtime.api.metadata.MetadataResolvingException- if an error occurs during theMetadataKeybuilding. SeeFailureCodefor possibleMetadataResolvingExceptionreasonsorg.mule.runtime.api.connection.ConnectionException- if an error occurs when using the connection provided by theMetadataContext
-
getResolverName
This is the name of the TypeResolver. It should not be repeated amongInputTypeResolverandOutputTypeResolverwhich are used together.- Specified by:
getResolverNamein interfaceNamedTypeResolver- Returns:
- name of the resolver
-