public final class NullMetadataResolver extends Object implements org.mule.runtime.api.metadata.resolving.MetadataContentResolver<Object>, org.mule.runtime.api.metadata.resolving.MetadataKeysResolver, org.mule.runtime.api.metadata.resolving.MetadataOutputResolver<Object>, org.mule.runtime.api.metadata.resolving.MetadataAttributesResolver<Object>
MetadataContentResolver, MetadataAttributesResolver
and MetadataKeysResolver, used to represent the absence of any of them when required.| Constructor and Description |
|---|
NullMetadataResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.model.MetadataType |
getAttributesMetadata(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
Null implementation of
MetadataAttributesResolver, used when no implementation
is provided by the connector developer. |
org.mule.metadata.api.model.MetadataType |
getContentMetadata(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
Null implementation of
MetadataContentResolver, used when no implementation
is provided by the connector developer. |
Set<org.mule.runtime.api.metadata.MetadataKey> |
getMetadataKeys(org.mule.runtime.api.metadata.MetadataContext context)
Null implementation of
MetadataKeysResolver, used when no implementation
is provided by the connector developer. |
org.mule.metadata.api.model.MetadataType |
getOutputMetadata(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
Null implementation of
MetadataOutputResolver, used when no implementation
is provided by the connector developer. |
public Set<org.mule.runtime.api.metadata.MetadataKey> getMetadataKeys(org.mule.runtime.api.metadata.MetadataContext context) throws org.mule.runtime.api.metadata.MetadataResolvingException
MetadataKeysResolver, used when no implementation
is provided by the connector developer. Represents the absence of a custom MetadataKeysResolver,
returning an empty list of MetadataKey.getMetadataKeys in interface org.mule.runtime.api.metadata.resolving.MetadataKeysResolvercontext - MetadataContext of the MetaData resolutionCollections.emptyList()org.mule.runtime.api.metadata.MetadataResolvingExceptionpublic org.mule.metadata.api.model.MetadataType getContentMetadata(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
throws org.mule.runtime.api.metadata.MetadataResolvingException
MetadataContentResolver, used when no implementation
is provided by the connector developer. Represents the absence of a custom MetadataContentResolver,
returning a NullType instead of resolving a valid MetadataType for the Content parametergetContentMetadata in interface org.mule.runtime.api.metadata.resolving.MetadataContentResolver<Object>context - MetadataContext of the MetaData resolutionkey - MetadataKey of the type which's structure has to be resolvednullorg.mule.runtime.api.metadata.MetadataResolvingExceptionpublic org.mule.metadata.api.model.MetadataType getOutputMetadata(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
throws org.mule.runtime.api.metadata.MetadataResolvingException
MetadataOutputResolver, used when no implementation
is provided by the connector developer. Represents the absence of a custom MetadataOutputResolver,
returning a NullType instead of resolving a dynamic MetadataType for the component's output.getOutputMetadata in interface org.mule.runtime.api.metadata.resolving.MetadataOutputResolver<Object>context - MetadataContext of the MetaData resolutionkey - MetadataKey of the type which's structure has to be resolvednullorg.mule.runtime.api.metadata.MetadataResolvingExceptionpublic org.mule.metadata.api.model.MetadataType getAttributesMetadata(org.mule.runtime.api.metadata.MetadataContext context,
Object key)
throws org.mule.runtime.api.metadata.MetadataResolvingException
MetadataAttributesResolver, used when no implementation
is provided by the connector developer. Represents the absence of a custom MetadataAttributesResolver,
returning a AnyType instead of resolving a dynamic MetadataType for the component's output attributes.getAttributesMetadata in interface org.mule.runtime.api.metadata.resolving.MetadataAttributesResolver<Object>context - MetadataContext of the MetaData resolutionkey - MetadataKey of the type which's structure has to be resolvednullorg.mule.runtime.api.metadata.MetadataResolvingExceptionCopyright © 2016 MuleSoft, Inc.. All rights reserved.