Interface TychoRepositoryIndex

    • Method Detail

      • getProjectGAVs

        Set<GAV> getProjectGAVs()
        Receive the set of GAVs contained in this index
        Returns:
        an unmodifiable defensive copy of the GAV set contained in this index
      • addGav

        void addGav​(GAV gav)
        Adds a GAV to the index
        Parameters:
        gav - not null
      • removeGav

        void removeGav​(GAV gav)
        Remove a GAV from the index.
        Parameters:
        gav -
      • save

        void save()
           throws IOException
        Changes performed via addGav(GAV) , removeGav(GAV) will only be reflected in the memory state of the index. In case the index is bound some persistence location (e.g. a file see FileBasedTychoRepositoryIndex#createArtifactsIndex(java.io.File)) the method will store the current memory content to the persistence storage.
        Throws:
        IOException