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:
AuditLoggingComponent
,SecureConnectorExtension
,VirtualConnectorExtension
,IntegrationConnector
,FileDirectoryListenerInterface
,FileListenerInterface
,FilesIntegratorOMISConnector
- Direct Known Subclasses:
DataFilesMonitorIntegrationConnector
,DataFolderMonitorIntegrationConnector
public abstract class BasicFilesMonitorIntegrationConnectorBase
extends FilesIntegratorConnector
implements FileDirectoryListenerInterface
BasicFilesMonitorIntegrationConnectorBase provides common methods for the connectors in this module.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase
auditLog, connectorName, embeddedConnectors, integrationContext
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, secretsStoreConnectorMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Shutdown file monitoringvoid
start()
Indicates that the connector is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.integrationservices.files.connector.FilesIntegratorConnector
getContext, setContext
Methods inherited from class org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnectorBase
engage, getConnectorComponentDescription, initializeEmbeddedConnectors, refreshCatalogTargets, setAuditLog, setConnectorName, setContext
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
disconnectConnectors, equals, getArrayConfigurationProperty, getAssetTypeName, getBooleanConfigurationProperty, getConnectedAssetProperties, getConnection, getConnectorInstanceId, getIntConfigurationProperty, getNetworkAddresses, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, initialize, initializeConnectedAssetProperties, initializeSecretsStoreConnector, isActive, throwMissingResource, throwNoAsset, throwWrongTypeOfAsset, throwWrongTypeOfResource, throwWrongTypeOfRootSchema, toString
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.odpi.openmetadata.frameworks.integration.filelistener.FileDirectoryListenerInterface
onDirectoryChange, onDirectoryCreate, onDirectoryDelete
Methods inherited from interface org.odpi.openmetadata.frameworks.integration.filelistener.FileListenerInterface
onFileChange, onFileCreate, onFileDelete
Methods inherited from interface org.odpi.openmetadata.frameworks.integration.connectors.IntegrationConnector
refresh
-
Constructor Details
-
BasicFilesMonitorIntegrationConnectorBase
public BasicFilesMonitorIntegrationConnectorBase()
-
-
Method Details
-
start
Indicates that the connector is completely configured and can begin processing. It extracts all the useful configuration from the connection object.- Specified by:
start
in interfaceIntegrationConnector
- Overrides:
start
in classConnectorBase
- Throws:
ConnectorCheckedException
- there is a problem within the connector.
-
disconnect
Shutdown file monitoring- Specified by:
disconnect
in interfaceIntegrationConnector
- Overrides:
disconnect
in classIntegrationConnectorBase
- Throws:
ConnectorCheckedException
- something failed in the super class
-