Interface CollectSingleStatePolicy

    • Method Detail

      • getCurrentVersion

        @NotNull
        String getCurrentVersion​(@NotNull
                                 VcsRoot root)
                          throws VcsException
        Returns version mark version control is currently in (like last committed change list number for Perforce, or current date for CVS).
        Parameters:
        root - - current configuration
        Returns:
        - current version of repository. This version has to have the same meaning as a VcsModification version
        Throws:
        VcsException - throw this exception if some problem occurred while collecting changes or changes cannot be collected because of invalid configuration. Localized message will be shown on the web page for the corresponding project.
        Since:
        4.5