public class RepositoryScannerInstance extends Object implements org.codehaus.plexus.util.DirectoryWalkListener
Modifier and Type | Field and Description |
---|---|
private long |
changesSince |
private Map<String,Long> |
consumerCounts |
private ConsumerProcessFileClosure |
consumerProcessFile |
private Map<String,Long> |
consumerTimings |
private ConsumerWantsFilePredicate |
consumerWantsFile |
private List<InvalidRepositoryContentConsumer> |
invalidConsumers
Consumers that process unknown/invalid content.
|
private List<KnownRepositoryContentConsumer> |
knownConsumers
Consumers that process known content.
|
private org.slf4j.Logger |
log |
private ManagedRepository |
repository |
private RepositoryScanStatistics |
stats |
Constructor and Description |
---|
RepositoryScannerInstance(ManagedRepository repository,
List<KnownRepositoryContentConsumer> knownConsumerList,
List<InvalidRepositoryContentConsumer> invalidConsumerList) |
RepositoryScannerInstance(ManagedRepository repository,
List<KnownRepositoryContentConsumer> knownContentConsumers,
List<InvalidRepositoryContentConsumer> invalidContentConsumers,
long changesSince) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message)
Debug method from DirectoryWalker.
|
void |
directoryWalkFinished() |
void |
directoryWalkStarting(File basedir) |
void |
directoryWalkStep(int percentage,
File file) |
long |
getChangesSince() |
Map<String,Long> |
getConsumerCounts() |
Map<String,Long> |
getConsumerTimings() |
ManagedRepository |
getRepository() |
RepositoryScanStatistics |
getStatistics() |
RepositoryScanStatistics |
getStats() |
private org.slf4j.Logger log
private List<KnownRepositoryContentConsumer> knownConsumers
private List<InvalidRepositoryContentConsumer> invalidConsumers
private ManagedRepository repository
private RepositoryScanStatistics stats
private long changesSince
private ConsumerProcessFileClosure consumerProcessFile
private ConsumerWantsFilePredicate consumerWantsFile
private Map<String,Long> consumerTimings
private Map<String,Long> consumerCounts
public RepositoryScannerInstance(ManagedRepository repository, List<KnownRepositoryContentConsumer> knownConsumerList, List<InvalidRepositoryContentConsumer> invalidConsumerList)
public RepositoryScannerInstance(ManagedRepository repository, List<KnownRepositoryContentConsumer> knownContentConsumers, List<InvalidRepositoryContentConsumer> invalidContentConsumers, long changesSince)
public RepositoryScanStatistics getStatistics()
public Map<String,Long> getConsumerTimings()
public Map<String,Long> getConsumerCounts()
public void directoryWalkStarting(File basedir)
directoryWalkStarting
in interface org.codehaus.plexus.util.DirectoryWalkListener
public void directoryWalkStep(int percentage, File file)
directoryWalkStep
in interface org.codehaus.plexus.util.DirectoryWalkListener
public void directoryWalkFinished()
directoryWalkFinished
in interface org.codehaus.plexus.util.DirectoryWalkListener
public void debug(String message)
debug
in interface org.codehaus.plexus.util.DirectoryWalkListener
public ManagedRepository getRepository()
public RepositoryScanStatistics getStats()
public long getChangesSince()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.