jetbrains.buildServer.vcs
Class VcsClientMapping
java.lang.Object
jetbrains.buildServer.vcs.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 Summary |
VcsClientMapping(java.lang.String vcsUrlInfo,
java.lang.String targetPath)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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/roottargetPath - target path, mount point in the target location, empty string for root
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
compareTo
public int compareTo(VcsClientMapping o)
- Specified by:
compareTo in interface java.lang.Comparable<VcsClientMapping>