Package com.attivio.sdk.scanner
Interface DataSourceScanner
-
public interface DataSourceScannerThis interface must be implemented by a data source scanner. See theSampleDataSourceScannerSDK example.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidstart(java.lang.String connectorName, DocumentPublisher publisher)default voidvalidateConfiguration()This method could be implemented to verify the scanner configuration before it is started.
-
-
-
Method Detail
-
start
void start(java.lang.String connectorName, DocumentPublisher publisher) throws AttivioExceptionImplement this method to feeddocumentsusing apublisher.This method is called when a connector has started.
- Parameters:
connectorName- the name of the connector that uses this scanner.publisher- the scanner publishes theIngestDocumentit generates.- Throws:
AttivioException
-
validateConfiguration
default void validateConfiguration() throws AttivioExceptionThis method could be implemented to verify the scanner configuration before it is started.- Throws:
AttivioException
-
-