Package jetbrains.buildServer.vcs
Class VcsClientMapping
- java.lang.Object
-
- jetbrains.buildServer.vcs.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 Summary
Constructors Constructor Description VcsClientMapping(String vcsUrlInfo, String targetPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VcsClientMapping o)
String
getTargetPath()
String
getVcsUrlInfo()
String
toString()
-
-
-
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/roottargetPath
- 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
-
compareTo
public int compareTo(VcsClientMapping o)
- Specified by:
compareTo
in interfaceComparable<VcsClientMapping>
-
-