|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface RepositoryScanner
RepositoryScanner
| Field Summary | |
|---|---|
static long |
FRESH_SCAN
The value to pass to scan(ManagedRepositoryConfiguration, long) to have the scan
operate in a fresh fashion, with no check on changes based on timestamp. |
static java.lang.String[] |
IGNORABLE_CONTENT
Typical Ignorable Content patterns. |
| Method Summary | |
|---|---|
java.util.Set<RepositoryScannerInstance> |
getInProgressScans()
|
RepositoryScanStatistics |
scan(org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository,
java.util.List<KnownRepositoryContentConsumer> knownContentConsumers,
java.util.List<InvalidRepositoryContentConsumer> invalidContentConsumers,
java.util.List<java.lang.String> ignoredContentPatterns,
long changesSince)
Scan the repository for content changes. |
RepositoryScanStatistics |
scan(org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository,
long changesSince)
Scan the repository for content changes. |
| Field Detail |
|---|
static final long FRESH_SCAN
scan(ManagedRepositoryConfiguration, long) to have the scan
operate in a fresh fashion, with no check on changes based on timestamp.
static final java.lang.String[] IGNORABLE_CONTENT
Typical Ignorable Content patterns.
NOTE: Do not use for normal webapp or task driven repository scanning.
These patterns are only valid for archiva-cli and archiva-converter use.
| Method Detail |
|---|
RepositoryScanStatistics scan(org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository,
long changesSince)
throws RepositoryException
repository - the repository to change.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)
RepositoryException - if there was a fundamental problem with getting the discoverer started.
RepositoryScanStatistics scan(org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository,
java.util.List<KnownRepositoryContentConsumer> knownContentConsumers,
java.util.List<InvalidRepositoryContentConsumer> invalidContentConsumers,
java.util.List<java.lang.String> ignoredContentPatterns,
long changesSince)
throws RepositoryException
repository - the repository to change.knownContentConsumers - the list of consumers that follow the KnownRepositoryContentConsumer
interface that should be used for this scan.invalidContentConsumers - the list of consumers that follow the InvalidRepositoryContentConsumer
interface that should be used for this scan.ignoredContentPatterns - list of patterns that should be ignored and not sent to any consumer.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)
RepositoryException - if there was a fundamental problem with getting the discoverer started.java.util.Set<RepositoryScannerInstance> getInProgressScans()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||