archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/RepositoryScanner.java
/**
     * Scan the repository for content changes.
     * <p>
     * Internally, this will use the as-configured known and invalid consumer lists.
     *
     * @param repository              the repository to change.
     * @param knownContentConsumers   the list of consumers that follow the {@link KnownRepositoryContentConsumer}
     *                                interface that should be used for this scan.
     * @param invalidContentConsumers the list of consumers that follow the {@link InvalidRepositoryContentConsumer}
     *                                interface that should be used for this scan.
     * @param ignoredContentPatterns  list of patterns that should be ignored and not sent to any consumer.
     * @param changesSince            the timestamp to use as a threshold on what is considered new or changed.
     *                                (To have all content be taken into consideration regardless of timestamp,
     *                                use the {@link #FRESH_SCAN} constant)
     * @return the statistics for this scan.
     * @throws RepositoryScannerException if there was a fundamental problem with getting the discoverer started.
     */
Scan the repository for content changes.

Internally, this will use the as-configured known and invalid consumer lists.

@param repository              the repository to change.
@param knownContentConsumers   the list of consumers that follow the  KnownRepositoryContentConsumer
interface that should be used for this scan.
@param invalidContentConsumers the list of consumers that follow the  InvalidRepositoryContentConsumer
interface that should be used for this scan.
@param ignoredContentPatterns  list of patterns that should be ignored and not sent to any consumer.
@param changesSince            the timestamp to use as a threshold on what is considered new or changed.
(To have all content be taken into consideration regardless of timestamp,
use the  #FRESH_SCAN constant)
@return the statistics for this scan.
@throws RepositoryScannerException if there was a fundamental problem with getting the discoverer started.
Scan the repository for content changes . Internally this will use the as - configured known and invalid consumer lists . @param repository the repository to change . @param knownContentConsumers the list of consumers that follow the KnownRepositoryContentConsumer interface that should be used for this scan . @param invalidContentConsumers the list of consumers that follow the InvalidRepositoryContentConsumer interface that should be used for this scan . @param ignoredContentPatterns list of patterns that should be ignored and not sent to any consumer . @param changesSince the timestamp to use as a threshold on what is considered new or changed . ( To have all content be taken into consideration regardless of timestamp use the #FRESH_SCAN constant ) @return the statistics for this scan . @throws RepositoryScannerException if there was a fundamental problem with getting the discoverer started .
RepositoryScanStatistics scan( ManagedRepository repository,
                                   List<KnownRepositoryContentConsumer> knownContentConsumers,
                                   List<InvalidRepositoryContentConsumer> invalidContentConsumers,
                                   List<String> ignoredContentPatterns, long changesSince )
        throws RepositoryScannerException;
RepositoryScanStatistics scan ( ManagedRepository repository , List < KnownRepositoryContentConsumer > knownContentConsumers , List < InvalidRepositoryContentConsumer > invalidContentConsumers , List < String > ignoredContentPatterns , long changesSince ) throws RepositoryScannerException ;
Scan the repository for content changes.
Scan the repository for content changes .