public final class NullMetadataResolver extends Object implements InputTypeResolver<Object>, TypeKeysResolver, OutputTypeResolver<Object>, AttributesTypeResolver<Object>
InputTypeResolver, AttributesTypeResolver and TypeKeysResolver, used to
represent the absence of any of them when required.| Modifier and Type | Field and Description |
|---|---|
static String |
NULL_CATEGORY_NAME |
static String |
NULL_RESOLVER_NAME |
| Constructor and Description |
|---|
NullMetadataResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.model.MetadataType |
getAttributesType(MetadataContext context,
Object key)
Null implementation of
AttributesTypeResolver, used when no implementation is provided by the connector developer. |
String |
getCategoryName()
This is the name of the TypeResolver Category, that relates a given
TypeKeysResolver with the
input and output type resolvers. |
org.mule.metadata.api.model.MetadataType |
getInputMetadata(MetadataContext context,
Object key)
Null implementation of
InputTypeResolver, used when no implementation is provided by the connector developer. |
Set<MetadataKey> |
getKeys(MetadataContext context)
Null implementation of
TypeKeysResolver, used when no implementation is provided by the connector developer. |
org.mule.metadata.api.model.MetadataType |
getOutputType(MetadataContext context,
Object key)
Null implementation of
OutputTypeResolver, used when no implementation is provided by the connector developer. |
String |
getResolverName()
This is the name of the TypeResolver.
|
public static final String NULL_CATEGORY_NAME
public static final String NULL_RESOLVER_NAME
public String getResolverName()
InputTypeResolver and
OutputTypeResolver which are used together.getResolverName in interface AttributesTypeResolver<Object>getResolverName in interface InputTypeResolver<Object>getResolverName in interface NamedTypeResolvergetResolverName in interface OutputTypeResolver<Object>getResolverName in interface TypeKeysResolverpublic String getCategoryName()
TypeKeysResolver with the
input and output type resolvers. For any given component, all the
input and output resolvers must belong to the same Category, that is,
have the same categoryNamegetCategoryName in interface NamedTypeResolverpublic Set<MetadataKey> getKeys(MetadataContext context) throws org.mule.runtime.api.metadata.MetadataResolvingException
TypeKeysResolver, used when no implementation is provided by the connector developer.
Represents the absence of a custom TypeKeysResolver, returning an empty list of MetadataKey.getKeys in interface TypeKeysResolvercontext - MetadataContext of the MetaData resolutionCollections.emptyList()org.mule.runtime.api.metadata.MetadataResolvingExceptionpublic org.mule.metadata.api.model.MetadataType getInputMetadata(MetadataContext context, Object key) throws org.mule.runtime.api.metadata.MetadataResolvingException
InputTypeResolver, used when no implementation is provided by the connector developer.
Represents the absence of a custom InputTypeResolver, returning a VoidType instead of resolving a valid
MetadataTypegetInputMetadata in interface InputTypeResolver<Object>context - MetadataContext of the MetaData resolutionkey - MetadataKey of the type which's structure has to be resolvedVoidTypeorg.mule.runtime.api.metadata.MetadataResolvingExceptionpublic org.mule.metadata.api.model.MetadataType getOutputType(MetadataContext context, Object key) throws org.mule.runtime.api.metadata.MetadataResolvingException
OutputTypeResolver, used when no implementation is provided by the connector developer.
Represents the absence of a custom OutputTypeResolver, returning a VoidType instead of resolving a dynamic
MetadataType for the component's output.getOutputType in interface OutputTypeResolver<Object>context - MetadataContext of the MetaData resolutionkey - MetadataKey of the type which's structure has to be resolvedVoidTypeorg.mule.runtime.api.metadata.MetadataResolvingExceptionpublic org.mule.metadata.api.model.MetadataType getAttributesType(MetadataContext context, Object key) throws org.mule.runtime.api.metadata.MetadataResolvingException
AttributesTypeResolver, used when no implementation is provided by the connector developer.
Represents the absence of a custom AttributesTypeResolver, returning a VoidType instead of resolving a
dynamic MetadataType for the component's output attributes.getAttributesType in interface AttributesTypeResolver<Object>context - MetadataContext of the MetaData resolutionkey - MetadataKey of the type which's structure has to be resolvedVoidTypeorg.mule.runtime.api.metadata.MetadataResolvingExceptionCopyright © 2021. All rights reserved.