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 Type
    Method
    Description
    <T> org.mule.runtime.api.metadata.resolving.InputTypeResolver<T>
    getInputResolver(String parameterName)
    Provides an instance of the InputTypeResolver type associated to the Component
    Collection<org.mule.runtime.api.metadata.resolving.InputTypeResolver>
    Provides all the InputTypeResolver associated to the parameters of the Component.
    org.mule.runtime.api.metadata.resolving.TypeKeysResolver
    Provides an instance of the TypeKeysResolver type associated to the Component
    <T> org.mule.runtime.api.metadata.resolving.AttributesTypeResolver<T>
    Provides an instance of the AttributesTypeResolver type associated to the Component
    <T> org.mule.runtime.api.metadata.resolving.OutputTypeResolver<T>
    Provides an instance of the OutputTypeResolver type associated to the Component
    org.mule.runtime.api.metadata.resolving.QueryEntityResolver
    Provides an instance of the QueryEntityResolver type associated to a query operation.
    default Map<String,org.mule.sdk.api.metadata.resolving.ChainInputTypeResolver>
    If the component is a router, it provides ChainInputTypeResolver instances through a Map which 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 the TypeKeysResolver type 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 the InputTypeResolver type associated to the Component
      Returns:
      an instance of the InputTypeResolver
    • getInputResolvers

      Collection<org.mule.runtime.api.metadata.resolving.InputTypeResolver> getInputResolvers()
      Provides all the InputTypeResolver associated to the parameters of the Component.
      Returns:
      a Collection of InputTypeResolver
    • getOutputResolver

      <T> org.mule.runtime.api.metadata.resolving.OutputTypeResolver<T> getOutputResolver()
      Provides an instance of the OutputTypeResolver type 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 the AttributesTypeResolver type 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 ChainInputTypeResolver associated 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 provides ChainInputTypeResolver instances through a Map which 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 the QueryEntityResolver type associated to a query operation.
      Returns:
      a QueryEntityResolver instance.