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

public abstract class CatalogTargetProcessorBase extends RequestedCatalogTarget
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

    Constructors
    Constructor
    Description
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    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, toString

    Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget

    getCatalogTargetElement, getRelationshipGUID, getRelationshipVersions, setCatalogTargetElement, setRelationshipGUID, setRelationshipVersions

    Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties

    getCatalogTargetName, getConfigurationProperties, getConnectionName, getDeleteMethod, getMetadataSourceQualifiedName, getPermittedSynchronization, getTemplateProperties, setCatalogTargetName, setConfigurationProperties, setConnectionName, setDeleteMethod, setMetadataSourceQualifiedName, setPermittedSynchronization, setTemplateProperties

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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 copy
      connectorToTarget - connector to access the target resource
      connectorName - name of this integration connector
      auditLog - logging destination
  • Method Details

    • refresh

      public abstract void refresh() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
      Requests 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.