Class IndexerConfiguration

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

@Named @Singleton public class IndexerConfiguration extends Object
A simple configuration holder class. This class contains the mapped indexers.
Author:
mtodorov
  • Constructor Details

    • IndexerConfiguration

      @Inject public IndexerConfiguration(org.apache.maven.index.Indexer indexer, org.apache.maven.index.Scanner scanner, Map<String,org.apache.maven.index.context.IndexCreator> indexers)
  • Method Details

    • getIndexersAsList

      public List<org.apache.maven.index.context.IndexCreator> getIndexersAsList()
    • getIndexer

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

      public void setIndexer(org.apache.maven.index.Indexer indexer)
    • getScanner

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

      public void setScanner(org.apache.maven.index.Scanner scanner)
    • getIndexers

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

      public void setIndexers(Map<String,org.apache.maven.index.context.IndexCreator> indexers)