Class DataFolderMonitorIntegrationConnector

  • All Implemented Interfaces:
    AuditLoggingComponent, VirtualConnectorExtension, org.odpi.openmetadata.governanceservers.integrationdaemonservices.connectors.IntegrationConnector

    public class DataFolderMonitorIntegrationConnector
    extends BasicFilesMonitorIntegrationConnectorBase
    DataFolderMonitorIntegrationConnector monitors a file directory that is linked to a DataFolder asset and maintains the update time of the DataFolder each time one of the files or embedded directories change in some way.
    • Constructor Detail

      • DataFolderMonitorIntegrationConnector

        public DataFolderMonitorIntegrationConnector()
    • Method Detail

      • start

        public void start()
                   throws ConnectorCheckedException
        Indicates that the connector is completely configured and can begin processing. This call can be used to register with non-blocking services.
        Specified by:
        start in interface org.odpi.openmetadata.governanceservers.integrationdaemonservices.connectors.IntegrationConnector
        Overrides:
        start in class BasicFilesMonitorIntegrationConnectorBase
        Throws:
        ConnectorCheckedException - there is a problem within the connector.
      • refresh

        public void refresh()
                     throws 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:
        ConnectorCheckedException - there is a problem with the connector. It is not able to refresh the metadata.