Interface IndexManager

All Known Implementing Classes:
DefaultIndexManager

public interface IndexManager
Point of entry for logic related to handling Oak indexes
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Records the Oak index data using the features manager
    Returns the index definitions managed by this instance
    void
    Resets the internal state
  • Field Details

  • Method Details

    • getIndexes

      @NotNull @NotNull IndexDefinitions getIndexes()
      Returns the index definitions managed by this instance

      The returned object may be used to record data discovered about oak indexes

      Returns:
      the index definitions
    • addRepoinitExtension

      void addRepoinitExtension(FeaturesManager features) throws IOException, ConverterException
      Records the Oak index data using the features manager

      The index definitions will be recoreded as a JSON repoinit extension named "oak-index-definitions" .

      Parameters:
      features -
      Throws:
      IOException
      ConverterException
    • reset

      void reset()
      Resets the internal state