Class VcsClientMapping

  • All Implemented Interfaces:
    java.lang.Comparable<VcsClientMapping>

    public class VcsClientMapping
    extends java.lang.Object
    implements java.lang.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​(java.lang.String vcsUrlInfo,
                                java.lang.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 java.lang.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 java.lang.String getTargetPath()
        Returns:
        target path, mount point in the target location, empty string for root
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object