public interface PayloadMetadata
ExtendedPayload
. Properties added to the metadata will be accessible in
integration processes as either connector tracked properties or dynamic document / user defined properties. It is
highly recommended that connector developers prefer tracked properties over dynamic document properties.Modifier and Type | Method and Description |
---|---|
void |
setTrackedGroupProperties(String groupId,
Map<String,String> properties)
Sets the document level connector trackedGroup.
|
void |
setTrackedGroupProperty(String groupId,
String name,
String value)
Adds a single property to a trackedGroup based on groupId.
|
void |
setTrackedProperty(String name,
String value)
Sets a connector tracked property.
|
void |
setUserDefinedProperty(String name,
String value)
Sets a user defined / dynamic document property.
|
void setTrackedProperty(String name, String value)
setUserDefinedProperty(String, String)
whenever possible.name
- the name of the property as defined in the descriptorvalue
- the value of the propertyvoid setUserDefinedProperty(String name, String value)
setTrackedProperty(String, String)
over this method whenever possible.
Note: This method is not currently supported for LISTEN operations. Any user defined properties set by the
operation will be ignored.name
- the name of the propertyvalue
- the value of the propertyvoid setTrackedGroupProperties(String groupId, Map<String,String> properties)
groupId
- the group id for properties.properties
- the properties associated with the groupIdvoid setTrackedGroupProperty(String groupId, String name, String value)
groupId
- name
- value
-