Package com.attivio.sdk.scanner
Interface DataSourceScanner
-
public interface DataSourceScanner
This interface must be implemented by a data source scanner. See theSampleDataSourceScanner
SDK example.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
start(java.lang.String connectorName, DocumentPublisher publisher)
default void
validateConfiguration()
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 AttivioException
- Parameters:
connectorName
- the name of the connector that uses this scanner.publisher
- the scanner publishes theIngestDocument
it generates.- Throws:
AttivioException
-
validateConfiguration
default void validateConfiguration() throws AttivioException
This method could be implemented to verify the scanner configuration before it is started.- Throws:
AttivioException
-
-