public class AssetLineagePublisher extends Object
| Constructor and Description |
|---|
AssetLineagePublisher(Connection assetLineageOutTopic,
OMRSAuditLog auditLog)
The constructor is given the connection to the out topic for Asset Lineage OMAS
along with classes for testing and manipulating instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
publishRelationshipEvent(AssetLineageEventHeader event)
Output a new asset event.
|
public AssetLineagePublisher(Connection assetLineageOutTopic, OMRSAuditLog auditLog) throws OMAGConfigurationErrorException
assetLineageOutTopic - connection to the out topicauditLog - log file for the connector.OMAGConfigurationErrorExceptionpublic void publishRelationshipEvent(AssetLineageEventHeader event)
event - event to sendCopyright © 2018–2020 ODPi. All rights reserved.