Class VcsClientMapping

  • All Implemented Interfaces:
    Comparable<VcsClientMapping>

    public class VcsClientMapping
    extends Object
    implements Comparable<VcsClientMapping>
    This class represents a mapping between some VCS path in some repository to target path. For instance, an instance of the class can indicate that svn://localhost/some/path is mapped to my/path.
    Author:
    kir
    • Constructor Detail

      • VcsClientMapping

        public VcsClientMapping​(String vcsUrlInfo,
                                String targetPath)
        Parameters:
        vcsUrlInfo - source VCS path, encoded according to VCS rules. Should indicate uniquely identifiable path. For subversion, has format UUID|path/under/repository/root
        targetPath - target path, mount point in the target location, empty string for root
    • Method Detail

      • getVcsUrlInfo

        public String getVcsUrlInfo()
        Returns:
        source VCS path, encoded according to VCS rules. Should indicate uniquely identifiable path (UUID|path/under/repository/root for SVN).
      • getTargetPath

        public String getTargetPath()
        Returns:
        target path, mount point in the target location, empty string for root