Class TypeResolversInformationModelProperty

java.lang.Object
org.mule.runtime.extension.api.property.TypeResolversInformationModelProperty
All Implemented Interfaces:
Serializable, org.mule.runtime.api.meta.model.ModelProperty, org.mule.runtime.api.meta.NamedObject

public class TypeResolversInformationModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
A ModelProperty for a of ComponentModel that contains all the information regarding which dynamic TypeResolvers are used by this component.
Since:
1.2.0
See Also:
  • Field Details

  • Constructor Details

    • TypeResolversInformationModelProperty

      public TypeResolversInformationModelProperty(String category, Map<String,String> parameters, String outputResolver, String attributesResolver, String keysResolver, boolean requiresConnection, boolean requiresConfiguration)
    • TypeResolversInformationModelProperty

      public TypeResolversInformationModelProperty(String category, Map<String,String> parameters, String outputResolver, String attributesResolver, String keysResolver, boolean requiresConnection, boolean requiresConfiguration, boolean partialTypeKeyResolver)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.mule.runtime.api.meta.model.ModelProperty
      Specified by:
      getName in interface org.mule.runtime.api.meta.NamedObject
    • isPublic

      public boolean isPublic()
      Specified by:
      isPublic in interface org.mule.runtime.api.meta.model.ModelProperty
    • getCategoryName

      public String getCategoryName()
      Provides the name of the metadata category associated to the Component.
      Returns:
      category name
    • getOutputResolver

      public Optional<ResolverInformation> getOutputResolver()
      Provides information of the output resolver (if any) associated to the Component.
      Returns:
      output resolver's ResolverInformation
    • getAttributesResolver

      public Optional<ResolverInformation> getAttributesResolver()
      Provides information the output attributes resolver (if any) associated to the Component.
      Returns:
      output attributes resolver's ResolverInformation
    • getKeysResolver

      public Optional<ResolverInformation> getKeysResolver()
      Provides information of the metadata keys resolver (if any) associated to the Component.
      Returns:
      keys resolver's ResolverInformation
    • isPartialTypeKeyResolver

      public boolean isPartialTypeKeyResolver()
      Returns:
      boolean indicating if key resolver is partial of complete.
    • getParameterResolver

      public Optional<ResolverInformation> getParameterResolver(String parameterName)
      Provides information of the resolver (if any) associated to a given parameter.
      Parameters:
      parameterName - name of the parameter
      Returns:
      ResolverInformation of the resolver associated to the parameter, if one exists.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object