Class RepositoryIndexerFactory

java.lang.Object
org.apache.maven.index.examples.indexing.RepositoryIndexerFactory

@Singleton @Component public class RepositoryIndexerFactory extends Object
A factory for pre-configured RepositoryIndexers.
Author:
mtodorov
  • Constructor Details

    • RepositoryIndexerFactory

      @Inject public RepositoryIndexerFactory(IndexerConfiguration indexerConfiguration)
  • Method Details

    • createRepositoryIndexer

      public RepositoryIndexer createRepositoryIndexer(String repositoryId, File repositoryBasedir, File indexDir) throws IOException
      Throws:
      IOException
    • getIndexerConfiguration

      public IndexerConfiguration getIndexerConfiguration()
    • setIndexerConfiguration

      public void setIndexerConfiguration(IndexerConfiguration indexerConfiguration)
    • getIndexer

      public org.apache.maven.index.Indexer getIndexer()
    • getScanner

      public org.apache.maven.index.Scanner getScanner()
    • getIndexers

      public Map<String,org.apache.maven.index.context.IndexCreator> getIndexers()