@Service(value="indexMerger#default") public class DefaultIndexMerger extends Object implements IndexMerger
Modifier and Type | Field and Description |
---|---|
private org.apache.maven.index.NexusIndexer |
indexer |
private org.apache.maven.index.packer.IndexPacker |
indexPacker |
private org.slf4j.Logger |
log |
private MavenIndexerUtils |
mavenIndexerUtils |
private List<String> |
runningGroups |
private List<TemporaryGroupIndex> |
temporaryGroupIndexes |
Constructor and Description |
---|
DefaultIndexMerger(PlexusSisuBridge plexusSisuBridge,
MavenIndexerUtils mavenIndexerUtils) |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.index.context.IndexingContext |
buildMergedIndex(IndexMergerRequest indexMergerRequest) |
void |
cleanTemporaryGroupIndex(TemporaryGroupIndex temporaryGroupIndex) |
Collection<TemporaryGroupIndex> |
getTemporaryGroupIndexes() |
private org.slf4j.Logger log
private MavenIndexerUtils mavenIndexerUtils
private org.apache.maven.index.NexusIndexer indexer
private org.apache.maven.index.packer.IndexPacker indexPacker
private List<TemporaryGroupIndex> temporaryGroupIndexes
private List<String> runningGroups
@Inject public DefaultIndexMerger(PlexusSisuBridge plexusSisuBridge, MavenIndexerUtils mavenIndexerUtils) throws PlexusSisuBridgeException
PlexusSisuBridgeException
public org.apache.maven.index.context.IndexingContext buildMergedIndex(IndexMergerRequest indexMergerRequest) throws IndexMergerException
buildMergedIndex
in interface IndexMerger
IndexMergerException
@Async public void cleanTemporaryGroupIndex(TemporaryGroupIndex temporaryGroupIndex)
cleanTemporaryGroupIndex
in interface IndexMerger
public Collection<TemporaryGroupIndex> getTemporaryGroupIndexes()
getTemporaryGroupIndexes
in interface IndexMerger
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.