Interface VersionedSettingsRegistry

  • All Known Subinterfaces:
    VersionedSettingsRegistryEx
    All Known Implementing Classes:
    VersionedSettingsRegistryImpl

    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 Detail

      • registerFile

        void registerFile​(@NotNull
                          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
                         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