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
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractIndexCreator(String id, List<String> creatorDependencies) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:IndexCreatorReturns IndexCreator ID, that has to be unique across all existing creators.- Specified by:
getIdin interfaceIndexCreator- Returns:
-
getCreatorDependencies
Description copied from interface:IndexCreatorReturns 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:
getCreatorDependenciesin interfaceIndexCreator- Returns:
-
bos
-
sob
-