Module org.mule.sdk.api
Class AttributesStaticTypeResolver
java.lang.Object
org.mule.sdk.api.metadata.resolving.AttributesStaticTypeResolver
- All Implemented Interfaces:
AttributesTypeResolver,NamedTypeResolver,StaticResolver
@MinMuleVersion("4.5.0")
public abstract class AttributesStaticTypeResolver
extends Object
implements AttributesTypeResolver, StaticResolver
StaticResolver implementation for the attributes OutputModel.
This AttributesTypeResolver is discarded once the extension model is built. It's not registered with the dynamic
AttributesTypeResolvers.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface org.mule.sdk.api.metadata.resolving.StaticResolver
STATIC_RESOLVER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal org.mule.metadata.api.model.MetadataTypegetAttributesType(MetadataContext context, Object key) This method resolves the static output type for an attributesOutputModelproxing to theStaticResolver.getStaticMetadata()method.This is the name of the TypeResolver Category, that relates a givenTypeKeysResolverwith theinputandoutputtype resolvers.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mule.sdk.api.metadata.resolving.AttributesTypeResolver
getResolverNameMethods inherited from interface org.mule.sdk.api.metadata.resolving.StaticResolver
getStaticMetadata
-
Constructor Details
-
AttributesStaticTypeResolver
public AttributesStaticTypeResolver()
-
-
Method Details
-
getCategoryName
This is the name of the TypeResolver Category, that relates a givenTypeKeysResolverwith theinputandoutputtype resolvers. For any given component, all theinputandoutputresolvers must belong to the same Category, that is, have the samecategoryNameThe category name is not used for
StaticResolvers since they are not registered in the extension.- Specified by:
getCategoryNamein interfaceNamedTypeResolver- Returns:
- name of the category
-
getAttributesType
public final org.mule.metadata.api.model.MetadataType getAttributesType(MetadataContext context, Object key) This method resolves the static output type for an attributesOutputModelproxing to theStaticResolver.getStaticMetadata()method.The context and key are not used nor injected.
- Specified by:
getAttributesTypein interfaceAttributesTypeResolver- Parameters:
context-MetadataContextof the MetaData resolutionkey-Krepresenting the type which's structure has to be resolved- Returns:
MetadataTypeassociated to the given
-