Interface CollectSingleStatePolicy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCurrentVersion​(VcsRoot root)
      Returns version mark version control is currently in (like last committed change list number for Perforce, or current date for CVS).
    • Method Detail

      • getCurrentVersion

        @NotNull
        java.lang.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