Class OMRSRepositoryEventProcessor
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryeventmapper.OMRSRepositoryEventProcessor
-
- All Implemented Interfaces:
OMRSInstanceEventProcessorInterface,OMRSTypeDefEventProcessorInterface
public abstract class OMRSRepositoryEventProcessor extends Object implements OMRSTypeDefEventProcessorInterface, OMRSInstanceEventProcessorInterface
OMRSRepositoryEventProcessor describes the interface of a component that can process both TypeDef and Instance events from an open metadata repository.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringeventProcessorName
-
Constructor Summary
Constructors Modifier Constructor Description protectedOMRSRepositoryEventProcessor(String eventProcessorName)Constructor to update the event processor name.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetEventProcessorName()Return the name of the event processor.voidprocessClassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)Deprecated.voidprocessDeclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)Deprecated.voidprocessReclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.odpi.openmetadata.repositoryservices.events.OMRSInstanceEventProcessorInterface
processClassifiedEntityEvent, processConflictingInstancesEvent, processConflictingTypeEvent, processDeclassifiedEntityEvent, processDeletedEntityEvent, processDeletedRelationshipEvent, processDeletePurgedEntityEvent, processDeletePurgedRelationshipEvent, processInstanceBatchEvent, processNewEntityEvent, processNewRelationshipEvent, processPurgedEntityEvent, processPurgedEntityEvent, processPurgedRelationshipEvent, processPurgedRelationshipEvent, processReclassifiedEntityEvent, processRefreshEntityEvent, processRefreshEntityRequested, processRefreshRelationshipEvent, processRefreshRelationshipRequest, processReHomedEntityEvent, processReHomedRelationshipEvent, processReIdentifiedEntityEvent, processReIdentifiedRelationshipEvent, processRestoredEntityEvent, processRestoredRelationshipEvent, processReTypedEntityEvent, processReTypedRelationshipEvent, processUndoneEntityEvent, processUndoneRelationshipEvent, processUpdatedEntityEvent, processUpdatedRelationshipEvent, sendInstanceEvent
-
Methods inherited from interface org.odpi.openmetadata.repositoryservices.events.OMRSTypeDefEventProcessorInterface
processAttributeTypeDefConflictEvent, processDeletedAttributeTypeDefEvent, processDeletedTypeDefEvent, processNewAttributeTypeDefEvent, processNewTypeDefEvent, processReIdentifiedAttributeTypeDefEvent, processReIdentifiedTypeDefEvent, processTypeDefConflictEvent, processTypeDefPatchMismatchEvent, processUpdatedTypeDefEvent, sendTypeDefEvent
-
-
-
-
Field Detail
-
eventProcessorName
protected String eventProcessorName
-
-
Constructor Detail
-
OMRSRepositoryEventProcessor
protected OMRSRepositoryEventProcessor(String eventProcessorName)
Constructor to update the event processor name.- Parameters:
eventProcessorName- string name
-
-
Method Detail
-
getEventProcessorName
public String getEventProcessorName()
Return the name of the event processor.- Returns:
- event processor name
-
processClassifiedEntityEvent
@Deprecated public void processClassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
Deprecated.A new classification has been added to an entity.- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.entity- details of the entity with the new classification added. No guarantee this is all the classifications.
-
processDeclassifiedEntityEvent
@Deprecated public void processDeclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
Deprecated.A classification has been removed from an entity.- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.entity- details of the entity after the classification has been removed. No guarantee this is all the classifications.
-
processReclassifiedEntityEvent
@Deprecated public void processReclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
Deprecated.An existing classification has been changed on an entity.- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.entity- details of the entity after the classification has been changed. No guarantee this is all the classifications.
-
-