Interface MetadataResolverFactory
@NoImplement
public interface MetadataResolverFactory
Provides instances of the
TypeKeysResolver, TypeKeysResolver, OutputTypeResolver and
QueryEntityResolver resolving types associated to a Component- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescription<T> org.mule.runtime.api.metadata.resolving.InputTypeResolver<T>getInputResolver(String parameterName) Provides an instance of theInputTypeResolvertype associated to the ComponentCollection<org.mule.runtime.api.metadata.resolving.InputTypeResolver>Provides all theInputTypeResolverassociated to the parameters of the Component.org.mule.runtime.api.metadata.resolving.TypeKeysResolverProvides an instance of theTypeKeysResolvertype associated to the Component<T> org.mule.runtime.api.metadata.resolving.AttributesTypeResolver<T>Provides an instance of theAttributesTypeResolvertype associated to the Component<T> org.mule.runtime.api.metadata.resolving.OutputTypeResolver<T>Provides an instance of theOutputTypeResolvertype associated to the Componentorg.mule.runtime.api.metadata.resolving.QueryEntityResolverProvides an instance of theQueryEntityResolvertype associated to a query operation.If the component is a router, it providesChainInputTypeResolverinstances through aMapwhich keys are the corresponding route names.default Optional<org.mule.sdk.api.metadata.resolving.ChainInputTypeResolver>NOTE: Experimental feature.
-
Method Details
-
getKeyResolver
org.mule.runtime.api.metadata.resolving.TypeKeysResolver getKeyResolver()Provides an instance of theTypeKeysResolvertype associated to the Component- Returns:
- an instance of the
TypeKeysResolver
-
getInputResolver
<T> org.mule.runtime.api.metadata.resolving.InputTypeResolver<T> getInputResolver(String parameterName) Provides an instance of theInputTypeResolvertype associated to the Component- Returns:
- an instance of the
InputTypeResolver
-
getInputResolvers
Collection<org.mule.runtime.api.metadata.resolving.InputTypeResolver> getInputResolvers()Provides all theInputTypeResolverassociated to the parameters of the Component.- Returns:
- a
CollectionofInputTypeResolver
-
getOutputResolver
<T> org.mule.runtime.api.metadata.resolving.OutputTypeResolver<T> getOutputResolver()Provides an instance of theOutputTypeResolvertype associated to the Component- Returns:
- an instance of the
OutputTypeResolver
-
getOutputAttributesResolver
<T> org.mule.runtime.api.metadata.resolving.AttributesTypeResolver<T> getOutputAttributesResolver()Provides an instance of theAttributesTypeResolvertype associated to the Component- Returns:
- an instance of the
AttributesTypeResolver
-
getScopeChainInputTypeResolver
@Experimental @MinMuleVersion("4.7.0") default Optional<org.mule.sdk.api.metadata.resolving.ChainInputTypeResolver> getScopeChainInputTypeResolver()NOTE: Experimental feature. Backwards compatibility is not guaranteed.- Returns:
- an optional
ChainInputTypeResolverassociated to the component. - Since:
- 1.7.0
-
getRouterChainInputResolvers
@Experimental @MinMuleVersion("4.7.0") default Map<String,org.mule.sdk.api.metadata.resolving.ChainInputTypeResolver> getRouterChainInputResolvers()If the component is a router, it providesChainInputTypeResolverinstances through aMapwhich keys are the corresponding route names. If the component is not a router, an empty map will be returned. NOTE: Experimental feature. Backwards compatibility is not guaranteed.- Returns:
- an unmodifiable map. Cannot be
null - Since:
- 1.7.0
-
getQueryEntityResolver
org.mule.runtime.api.metadata.resolving.QueryEntityResolver getQueryEntityResolver()Provides an instance of theQueryEntityResolvertype associated to a query operation.- Returns:
- a
QueryEntityResolverinstance.
-