Class BasicFilesMonitorIntegrationConnectorBase
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase
org.odpi.openmetadata.integrationservices.files.connector.FilesIntegratorConnector
org.odpi.openmetadata.adapters.connectors.integration.basicfiles.BasicFilesMonitorIntegrationConnectorBase
- All Implemented Interfaces:
org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent,org.odpi.openmetadata.frameworks.connectors.SecureConnectorExtension,org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension,org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnector,org.odpi.openmetadata.frameworks.integration.filelistener.FileDirectoryListenerInterface,org.odpi.openmetadata.frameworks.integration.filelistener.FileListenerInterface,org.odpi.openmetadata.integrationservices.files.connector.FilesIntegratorOMISConnector
- Direct Known Subclasses:
DataFilesMonitorIntegrationConnector,DataFolderMonitorIntegrationConnector
public abstract class BasicFilesMonitorIntegrationConnectorBase
extends org.odpi.openmetadata.integrationservices.files.connector.FilesIntegratorConnector
implements org.odpi.openmetadata.frameworks.integration.filelistener.FileDirectoryListenerInterface
BasicFilesMonitorIntegrationConnectorBase provides common methods for the connectors in this module.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidShutdown file monitoringvoidstart()Indicates that the connector is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.integrationservices.files.connector.FilesIntegratorConnector
getContext, setContextMethods inherited from class org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase
engage, getConnectorComponentDescription, initializeEmbeddedConnectors, setAuditLog, setConnectorName, setContextMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, initializeSecretsStoreConnector, isActive, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestampMethods inherited from interface org.odpi.openmetadata.frameworks.integration.filelistener.FileDirectoryListenerInterface
onDirectoryChange, onDirectoryCreate, onDirectoryDeleteMethods inherited from interface org.odpi.openmetadata.frameworks.integration.filelistener.FileListenerInterface
onFileChange, onFileCreate, onFileDeleteMethods inherited from interface org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnector
refresh
-
Constructor Details
-
BasicFilesMonitorIntegrationConnectorBase
public BasicFilesMonitorIntegrationConnectorBase()
-
-
Method Details
-
start
public void start() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedExceptionIndicates that the connector is completely configured and can begin processing. It extracts all the useful configuration from the connection object.- Specified by:
startin interfaceorg.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnector- Overrides:
startin classorg.odpi.openmetadata.frameworks.connectors.ConnectorBase- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException- there is a problem within the connector.
-
disconnect
public void disconnect() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedExceptionShutdown file monitoring- Specified by:
disconnectin interfaceorg.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnector- Overrides:
disconnectin classorg.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException- something failed in the super class
-