Package org.apache.maven.index.creator
Class AbstractIndexCreator
java.lang.Object
org.apache.maven.index.creator.AbstractIndexCreator
- All Implemented Interfaces:
IndexCreator
- Direct Known Subclasses:
JarFileContentsIndexCreator
,MavenArchetypeArtifactInfoIndexCreator
,MavenPluginArtifactInfoIndexCreator
,MinimalArtifactInfoIndexCreator
,OsgiArtifactIndexCreator
An abstract base class for
IndexCreator
implementations.- Author:
- Jason van Zyl
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
AbstractIndexCreator
(String id, List<String> creatorDependencies) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.index.context.IndexCreator
getIndexerFields, populateArtifactInfo, updateArtifactInfo, updateDocument
-
Constructor Details
-
AbstractIndexCreator
-
AbstractIndexCreator
-
-
Method Details
-
getLogger
protected org.slf4j.Logger getLogger() -
getId
Description copied from interface:IndexCreator
Returns IndexCreator ID, that has to be unique across all existing creators.- Specified by:
getId
in interfaceIndexCreator
- Returns:
-
getCreatorDependencies
Description copied from interface:IndexCreator
Returns list of IndexCreator IDs that this creator depends on. Needed to perform a topological sort on IndexCreators to guarantee proper ordering of them, as some IndexCreators might rely on informations already extracted by some other IndexCreator.- Specified by:
getCreatorDependencies
in interfaceIndexCreator
- Returns:
-
bos
-
sob
-