public final class NullMetadataResolver extends Object implements org.mule.runtime.api.metadata.resolving.InputTypeResolver<Object>, org.mule.runtime.api.metadata.resolving.TypeKeysResolver, org.mule.runtime.api.metadata.resolving.OutputTypeResolver<Object>, org.mule.runtime.api.metadata.resolving.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(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
Null implementation of
AttributesTypeResolver, used when no implementation is provided by the connector
developer. |
String |
getCategoryName() |
org.mule.metadata.api.model.MetadataType |
getInputMetadata(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
Null implementation of
InputTypeResolver, used when no implementation is provided by the connector developer. |
Set<org.mule.runtime.api.metadata.MetadataKey> |
getKeys(org.mule.runtime.api.metadata.MetadataContext context)
Null implementation of
TypeKeysResolver, used when no implementation is provided by the connector developer. |
org.mule.metadata.api.model.MetadataType |
getOutputType(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
Null implementation of
OutputTypeResolver, used when no implementation is provided by the connector developer. |
String |
getResolverName() |
public static final String NULL_CATEGORY_NAME
public static final String NULL_RESOLVER_NAME
public String getResolverName()
getResolverName in interface org.mule.runtime.api.metadata.resolving.AttributesTypeResolver<Object>getResolverName in interface org.mule.runtime.api.metadata.resolving.InputTypeResolver<Object>getResolverName in interface org.mule.runtime.api.metadata.resolving.NamedTypeResolvergetResolverName in interface org.mule.runtime.api.metadata.resolving.OutputTypeResolver<Object>getResolverName in interface org.mule.runtime.api.metadata.resolving.TypeKeysResolverpublic String getCategoryName()
getCategoryName in interface org.mule.runtime.api.metadata.resolving.NamedTypeResolverpublic Set<org.mule.runtime.api.metadata.MetadataKey> getKeys(org.mule.runtime.api.metadata.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 org.mule.runtime.api.metadata.resolving.TypeKeysResolvercontext - MetadataContext of the MetaData resolutionCollections.emptyList()org.mule.runtime.api.metadata.MetadataResolvingExceptionpublic org.mule.metadata.api.model.MetadataType getInputMetadata(org.mule.runtime.api.metadata.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 org.mule.runtime.api.metadata.resolving.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(org.mule.runtime.api.metadata.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 org.mule.runtime.api.metadata.resolving.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(org.mule.runtime.api.metadata.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 org.mule.runtime.api.metadata.resolving.AttributesTypeResolver<Object>context - MetadataContext of the MetaData resolutionkey - MetadataKey of the type which's structure has to be resolvedVoidTypeorg.mule.runtime.api.metadata.MetadataResolvingExceptionCopyright © 2017 MuleSoft, Inc.. All rights reserved.