public class MappedMetadataIdentityBuilder extends MetadataIdentityBuilderImpl
In the event that your metadata keys match the values within the identity map then you are better off using
MetadataIdentityBuilder
instead.
In the adapter configuration file this class is aliased as mapped-metadata-identity-builder which is the preferred alternative to the fully qualified classname when building your configuration.
MetadataIdentityBuilderImpl.MetadataSource
log
Constructor and Description |
---|
MappedMetadataIdentityBuilder() |
MappedMetadataIdentityBuilder(KeyValuePairList map) |
MappedMetadataIdentityBuilder(MetadataIdentityBuilderImpl.MetadataSource type,
KeyValuePairList map) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build(AdaptrisMessage msg) |
KeyValuePairList |
getMetadataMap() |
void |
setMetadataMap(KeyValuePairList m)
Sets a
KeyValuePairList in which the key is the metadata key, and the value is the key for the identity map. |
getMetadataSource, getValue, metadataSource, setMetadataSource
close, init, start, stop
public MappedMetadataIdentityBuilder()
public MappedMetadataIdentityBuilder(KeyValuePairList map)
public MappedMetadataIdentityBuilder(MetadataIdentityBuilderImpl.MetadataSource type, KeyValuePairList map)
public java.util.Map<java.lang.String,java.lang.Object> build(AdaptrisMessage msg)
public KeyValuePairList getMetadataMap()
public void setMetadataMap(KeyValuePairList m)
KeyValuePairList
in which the key is the metadata key, and the value is the key for the identity map.m
- a KeyValuePairList