Class CatalogTargetProcessorBase
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget
org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
Provides the base class for connector code that processes a single catalog target. When converting an
integration connector implementation that does not support catalog targets to one that does, move
the core working code into a subclass of this class and implement CatalogTargetIntegrator (and optionally
CatalogTargetChangeListener if you need notifications. Ensure you override the getNewRequestedCatalogTargetSkeleton
method in CatalogTargetIntegrator to return a new instance of your CatalogTargetProcessorBase class.
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogTargetProcessorBase(org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget template, org.odpi.openmetadata.frameworks.connectors.Connector connectorToTarget, String connectorName, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract voidrefresh()Requests that the connector does a comparison of the metadata in the third party technology and open metadata repositories.Methods inherited from class org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
equals, getCatalogTargetConnector, hashCode, setCatalogTargetConnector, toStringMethods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget
getCatalogTargetElement, getRelationshipGUID, getRelationshipVersions, setCatalogTargetElement, setRelationshipGUID, setRelationshipVersionsMethods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties
getCatalogTargetName, getConfigurationProperties, getConnectionName, getDeleteMethod, getMetadataSourceQualifiedName, getPermittedSynchronization, getTemplateProperties, setCatalogTargetName, setConfigurationProperties, setConnectionName, setDeleteMethod, setMetadataSourceQualifiedName, setPermittedSynchronization, setTemplateProperties
-
Constructor Details
-
CatalogTargetProcessorBase
public CatalogTargetProcessorBase(org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget template, org.odpi.openmetadata.frameworks.connectors.Connector connectorToTarget, String connectorName, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Copy/clone constructor- Parameters:
template- object to copyconnectorToTarget- connector to access the target resourceconnectorName- name of this integration connectorauditLog- logging destination
-
-
Method Details
-
refresh
public abstract void refresh() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedExceptionRequests that the connector does a comparison of the metadata in the third party technology and open metadata repositories. Refresh is called when the integration connector first starts and then at intervals defined in the connector's configuration as well as any external REST API calls to explicitly refresh the connector.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException- there is a problem with the connector. It is not able to refresh the metadata.
-