Class AbstractIndexCreator

All Implemented Interfaces:
Direct Known Subclasses:
JarFileContentsIndexCreator, MavenArchetypeArtifactInfoIndexCreator, MavenPluginArtifactInfoIndexCreator, MinimalArtifactInfoIndexCreator, OsgiArtifactIndexCreator

public abstract class AbstractIndexCreator extends Object implements IndexCreator
An abstract base class for IndexCreator implementations.
Jason van Zyl
  • Constructor Details

    • AbstractIndexCreator

      protected AbstractIndexCreator(String id)
    • AbstractIndexCreator

      protected AbstractIndexCreator(String id, List<String> creatorDependencies)
  • Method Details

    • getLogger

      protected org.slf4j.Logger getLogger()
    • getId

      public String getId()
      Description copied from interface: IndexCreator
      Returns IndexCreator ID, that has to be unique across all existing creators.
      Specified by:
      getId in interface IndexCreator
    • getCreatorDependencies

      public List<String> 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 interface IndexCreator
    • bos

      public static String bos(boolean b)
    • sob

      public static boolean sob(String b)