Interface VersionedSettingsRegistry


  • public interface VersionedSettingsRegistry
    Registry of project config files to be committed in version control. If a plugin persist some files in project's configuration directory and these files should be committed to VCS, the plugin can register file or directory using this service.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void registerDir​(java.lang.String relativePath)
      Registers a directory and all its content for persisting in version control
      void registerFile​(java.lang.String relativePath)
      Registers a single file for persisting in version control
    • Method Detail

      • registerFile

        void registerFile​(@NotNull
                          java.lang.String relativePath)
        Registers a single file for persisting in version control
        Parameters:
        relativePath - relative path to file from the project's config directory, should use '/' as a file separator
      • registerDir

        void registerDir​(@NotNull
                         java.lang.String relativePath)
        Registers a directory and all its content for persisting in version control
        Parameters:
        relativePath - relative path to directory from the project's config directory, should use '/' as a file separator